diff options
author | Ivan Alejandro <ivanalejandro0@gmail.com> | 2013-10-02 12:14:48 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2013-10-02 12:14:48 -0300 |
commit | 8f55c9670a0547bc4879d2b36affbffbf201e4fc (patch) | |
tree | 73863549c2176255fc90eb928198d8c23dd4627b /src/leap/bitmask/crypto/tests | |
parent | 5b07b72de0843fa1665bc5ef8da988fb112bc97c (diff) | |
parent | 85103cd2977bee78006dac15cfd33a549f6a39de (diff) |
Merge remote-tracking branch 'chiiph/bug/fix_tests' into develop
Diffstat (limited to 'src/leap/bitmask/crypto/tests')
-rw-r--r-- | src/leap/bitmask/crypto/tests/test_srpauth.py | 5 |
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 0cb8e79a..e63c1385 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() |