diff options
author | drebs <drebs@leap.se> | 2013-05-01 12:33:20 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2013-05-01 12:33:20 -0300 |
commit | dc1e18c9460339faf5180805f0245cda7f686521 (patch) | |
tree | 854027d6e7f14426e49b8472a1d903dc2a7afe8c /src/leap/soledad/tests/test_soledad.py | |
parent | 8de4777d42f474909390e0db7bb61e912bf7141f (diff) |
Include tests for SoledadApp and Token auth.
Also, fix soledad instantiation to include a cert_file param.
Diffstat (limited to 'src/leap/soledad/tests/test_soledad.py')
-rw-r--r-- | src/leap/soledad/tests/test_soledad.py | 5 |
1 files changed, 3 insertions, 2 deletions
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) |