From 877e92d8698510b243b32d45e9c46f25e6f04615 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Fri, 7 Aug 2015 12:50:36 +0200 Subject: [test] fix SRP tests The tests where using deferToThread to run without need, I remove it and now it's easier to debug when one test fails. - Resolves: #7343 --- src/leap/bitmask/crypto/srpregister.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/leap/bitmask/crypto/srpregister.py') diff --git a/src/leap/bitmask/crypto/srpregister.py b/src/leap/bitmask/crypto/srpregister.py index baa15244..7a216847 100644 --- a/src/leap/bitmask/crypto/srpregister.py +++ b/src/leap/bitmask/crypto/srpregister.py @@ -73,8 +73,9 @@ class SRPRegisterImpl: :param password: password for this username :type password: str - :returns: if the registration went ok or not. - :rtype: bool + :returns: if the registration went ok or not, and the returned status + code of of the request + :rtype: (bool, int) """ username = username.lower().encode('utf-8') -- cgit v1.2.3