summaryrefslogtreecommitdiff
path: root/src/leap/bitmask
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask')
-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