diff options
author | Ruben Pollan <meskio@sindominio.net> | 2015-08-07 12:50:36 +0200 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2015-08-07 16:59:51 -0300 |
commit | 877e92d8698510b243b32d45e9c46f25e6f04615 (patch) | |
tree | f62fc45e08a1c5d8fd3f88f6d8b1613c18991164 /src/leap/bitmask/crypto/srpregister.py | |
parent | c063a253a4ea12d19844dcf8d368f8b50789d3f1 (diff) |
[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
Diffstat (limited to 'src/leap/bitmask/crypto/srpregister.py')
-rw-r--r-- | src/leap/bitmask/crypto/srpregister.py | 5 |
1 files changed, 3 insertions, 2 deletions
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') |