summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-08-22 11:25:17 -0300
committerTomás Touceda <chiiph@leap.se>2013-08-22 11:30:25 -0300
commit09d45fd642d60effe0c9180cc74afe1bcb8d3992 (patch)
tree93b074cc734c6261a499c91e1d35e4af965c9d54
parent5a9bc54d784ba1c09ec65be6f91e6b7f517cf502 (diff)
Fix logout test
-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