summaryrefslogtreecommitdiff
path: root/common/src/leap/soledad
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-08-21 02:27:00 -0300
committerdrebs <drebs@leap.se>2013-08-21 14:40:37 -0300
commit7f2976e7f47e7fee6ce607837e450494e540478d (patch)
treecf739e5fa1f5f2887a677baa3f03211b2a6e021f /common/src/leap/soledad
parent11ac38cb021e97cca77df2e9cf15f9136b24fc43 (diff)
Fix test using new rand prefix.
Diffstat (limited to 'common/src/leap/soledad')
-rw-r--r--common/src/leap/soledad/common/tests/test_crypto.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/src/leap/soledad/common/tests/test_crypto.py b/common/src/leap/soledad/common/tests/test_crypto.py
index 0c7b8254..01b43299 100644
--- a/common/src/leap/soledad/common/tests/test_crypto.py
+++ b/common/src/leap/soledad/common/tests/test_crypto.py
@@ -136,7 +136,8 @@ class SoledadSecretsTestCase(BaseSoledadTest):
secret_id_2 == hashlib.sha256(sol.storage_secret).hexdigest())
def test__has_secret(self):
- sol = self._soledad_instance(user='user@leap.se')
+ sol = self._soledad_instance(
+ user='user@leap.se', prefix=self.rand_prefix)
self.assertTrue(sol._has_secret(), "Should have a secret at "
"this point")
# setting secret id to None should not interfere in the fact we have a