From 7f2976e7f47e7fee6ce607837e450494e540478d Mon Sep 17 00:00:00 2001 From: drebs Date: Wed, 21 Aug 2013 02:27:00 -0300 Subject: Fix test using new rand prefix. --- common/src/leap/soledad/common/tests/test_crypto.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common/src/leap') 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 -- cgit v1.2.3