summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/crypto
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2013-08-22 11:34:42 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2013-08-22 11:34:42 -0300
commitdb2fda1c951a245d3fe0e624ba0adcf476427fb2 (patch)
tree93b074cc734c6261a499c91e1d35e4af965c9d54 /src/leap/bitmask/crypto
parent5a9bc54d784ba1c09ec65be6f91e6b7f517cf502 (diff)
parent09d45fd642d60effe0c9180cc74afe1bcb8d3992 (diff)
Merge remote-tracking branch 'chiiph/bug/fix_loguot_tests' into develop
Diffstat (limited to 'src/leap/bitmask/crypto')
-rw-r--r--src/leap/bitmask/crypto/tests/test_srpauth.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/leap/bitmask/crypto/tests/test_srpauth.py b/src/leap/bitmask/crypto/tests/test_srpauth.py
index 44cd6334..6fb2b739 100644
--- a/src/leap/bitmask/crypto/tests/test_srpauth.py
+++ b/src/leap/bitmask/crypto/tests/test_srpauth.py
@@ -663,11 +663,10 @@ class SRPAuthTestCase(unittest.TestCase):
return d
@deferred()
- def test_logout_fails_if_not_logged_in(self):
+ def test_logout_does_not_fail_if_not_logged_in(self):
def wrapper(*args):
- with self.assertRaises(AssertionError):
- self.auth_backend.logout()
+ self.auth_backend.logout()
d = threads.deferToThread(wrapper)
return d