From 09d45fd642d60effe0c9180cc74afe1bcb8d3992 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Touceda?= Date: Thu, 22 Aug 2013 11:25:17 -0300 Subject: Fix logout test --- src/leap/bitmask/crypto/tests/test_srpauth.py | 5 ++--- 1 file 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 -- cgit v1.2.3