From 77b12bda3df10710daf7c441512146170523f003 Mon Sep 17 00:00:00 2001 From: Folker Bernitt Date: Fri, 8 Aug 2014 18:01:48 +0200 Subject: Updated some leap components to latest version. - Send public key to leap now works - Fetching mail works with a recent leap provider version - Added register to LeapAuthenticator to create a new account --- service/test/bitmask_libraries/nicknym_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'service/test') diff --git a/service/test/bitmask_libraries/nicknym_test.py b/service/test/bitmask_libraries/nicknym_test.py index 46c70371..17a87883 100644 --- a/service/test/bitmask_libraries/nicknym_test.py +++ b/service/test/bitmask_libraries/nicknym_test.py @@ -15,7 +15,7 @@ class NickNymTest(AbstractLeapTest): #then init_mock.assert_called_with('test_user@some-server.test', 'https://nicknym.some-server.test:6425/', - self.soledad, self.session_id, '/some/path/to/ca_cert', + self.soledad, self.token, '/some/path/to/ca_cert', 'https://api.some-server.test:4430', '1', self.uuid, '/path/to/gpg') @@ -27,7 +27,7 @@ class NickNymTest(AbstractLeapTest): nicknym = NickNym(self.provider, self.config, self.soledad_session, self.srp_session) #when/then - self.assertRaises(NotImplementedError, nicknym.generate_openpgp_key) + nicknym.generate_openpgp_key() keyman.get_key.assert_called_with('test_user@some-server.test', openpgp.OpenPGPKey, fetch_remote=False, private=True) keyman.gen_key.assert_called_with(openpgp.OpenPGPKey) -- cgit v1.2.3