summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/crypto/tests
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-10-01 15:45:06 -0300
committerTomás Touceda <chiiph@leap.se>2013-10-02 12:08:14 -0300
commit85103cd2977bee78006dac15cfd33a549f6a39de (patch)
treec3d73099b05178179a90d17ebbc3ea160d243349 /src/leap/bitmask/crypto/tests
parent10c1eadc76b5c903feac32a6e2d113034d05cee0 (diff)
Fix failing tests/code
Diffstat (limited to 'src/leap/bitmask/crypto/tests')
-rw-r--r--src/leap/bitmask/crypto/tests/test_srpauth.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/leap/bitmask/crypto/tests/test_srpauth.py b/src/leap/bitmask/crypto/tests/test_srpauth.py
index 6fb2b739..5f2b44ee 100644
--- a/src/leap/bitmask/crypto/tests/test_srpauth.py
+++ b/src/leap/bitmask/crypto/tests/test_srpauth.py
@@ -680,10 +680,7 @@ class SRPAuthTestCase(unittest.TestCase):
self.auth_backend._session.delete,
side_effect=Exception())
- def wrapper(*args):
- self.auth_backend.logout()
-
- d = threads.deferToThread(wrapper)
+ d = threads.deferToThread(self.auth.logout)
return d
@deferred()