From c634874aeeb4a9950e77ed28c8b8e643246e6bbd Mon Sep 17 00:00:00 2001 From: drebs Date: Tue, 26 Apr 2016 09:58:36 -0300 Subject: [refactor] cleanup bootstrap process --- common/src/leap/soledad/common/tests/test_crypto.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'common/src/leap/soledad') diff --git a/common/src/leap/soledad/common/tests/test_crypto.py b/common/src/leap/soledad/common/tests/test_crypto.py index ca10a1e1..4fc3161d 100644 --- a/common/src/leap/soledad/common/tests/test_crypto.py +++ b/common/src/leap/soledad/common/tests/test_crypto.py @@ -133,15 +133,6 @@ class SoledadSecretsTestCase(BaseSoledadTest): self.assertTrue( sol.secrets._has_secret(), "Should have a secret at this point") - # setting secret id to None should not interfere in the fact we have a - # secret. - sol.secrets.set_secret_id(None) - self.assertTrue( - sol.secrets._has_secret(), - "Should have a secret at this point") - # but not being able to decrypt correctly should - sol.secrets._secrets[sol.secrets.secret_id] = None - self.assertFalse(sol.secrets._has_secret()) sol.close() -- cgit v1.2.3