summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2016-04-26 09:58:36 -0300
committerdrebs <drebs@leap.se>2016-04-26 22:40:09 -0300
commitc634874aeeb4a9950e77ed28c8b8e643246e6bbd (patch)
tree9567af43b50a1eff89745118af724c09fab25ebb /common
parentdaf515b0601f9ec2b0a8024b8a06a6814b45903d (diff)
[refactor] cleanup bootstrap process
Diffstat (limited to 'common')
-rw-r--r--common/src/leap/soledad/common/tests/test_crypto.py9
1 files changed, 0 insertions, 9 deletions
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()