diff options
author | Kali Kaneko <kali@leap.se> | 2013-06-26 05:00:51 +0900 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2013-06-26 05:01:25 +0900 |
commit | 3a0de3f36929f06edc9fa8a5c9e7b5471976a03c (patch) | |
tree | 7d42a12c470dc1315e5e66214c68a862dba00fb0 /src/leap/crypto/tests/fake_provider.py | |
parent | 04a0fa945a0ec239960255bc2a0f2f01a5b4a224 (diff) | |
parent | bc3652f5c51bdd414d85a2388ee6cba757eca19c (diff) |
Merge remote-tracking branch 'chiiph/feature/fix_test_srpregister' into develop
Nice reworking, all things deferreds!
Note that in this commit we're removing a couple of tests that should
go in test_srpauth... soon.
Diffstat (limited to 'src/leap/crypto/tests/fake_provider.py')
-rwxr-xr-x | src/leap/crypto/tests/fake_provider.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/leap/crypto/tests/fake_provider.py b/src/leap/crypto/tests/fake_provider.py index 74a735ff..b943040a 100755 --- a/src/leap/crypto/tests/fake_provider.py +++ b/src/leap/crypto/tests/fake_provider.py @@ -139,6 +139,7 @@ class FakeUsers(Resource): verifier = args['user[password_verifier]'][0] if login in _USERDB: + request.setResponseCode(422) return "%s\n" % json.dumps( {'errors': {'login': 'already taken!'}}) |