From dc1e18c9460339faf5180805f0245cda7f686521 Mon Sep 17 00:00:00 2001 From: drebs Date: Wed, 1 May 2013 12:33:20 -0300 Subject: Include tests for SoledadApp and Token auth. Also, fix soledad instantiation to include a cert_file param. --- src/leap/soledad/tests/test_soledad.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/leap/soledad/tests/test_soledad.py') diff --git a/src/leap/soledad/tests/test_soledad.py b/src/leap/soledad/tests/test_soledad.py index 7c941066..6031c704 100644 --- a/src/leap/soledad/tests/test_soledad.py +++ b/src/leap/soledad/tests/test_soledad.py @@ -67,7 +67,7 @@ class AuxMethodsTestCase(BaseSoledadTest): """ sol = Soledad('leap@leap.se', passphrase='123', bootstrap=False, secret_path=None, local_db_path=None, - server_url='') # otherwise Soledad will fail. + server_url='', cert_file=None) # otherwise Soledad will fail. self.assertEquals( os.path.join(sol.DEFAULT_PREFIX, 'secret.gpg'), sol.secret_path) @@ -85,7 +85,8 @@ class AuxMethodsTestCase(BaseSoledadTest): bootstrap=False, secret_path='value_3', local_db_path='value_2', - server_url='value_1') + server_url='value_1', + cert_file=None) self.assertEqual('value_3', sol.secret_path) self.assertEqual('value_2', sol.local_db_path) self.assertEqual('value_1', sol.server_url) -- cgit v1.2.3