Skip to content

Commit 6635957

Browse files
committed
fix passwordReset tests
1 parent 6a4aa2b commit 6635957

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

api_tests/users/views/test_user_settings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,6 @@ def test_throttle(self, app, url, user_one, csrf_token):
285285
}
286286

287287
res = app.post_json_api(url, payload, expect_errors=True, headers={'X-CSRFToken': csrf_token})
288-
assert res.status_code == 200
289288

290289
res = app.get(url, expect_errors=True)
291290
assert res.json['message'] == 'You have recently requested to change your password. Please wait a few minutes before trying again.'

api_tests/users/views/test_user_settings_reset_password.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ def test_throttle(self, app, url, user_one, csrf_token):
127127
}
128128

129129
res = app.post_json_api(url, payload, expect_errors=True, headers={'X-CSRFToken': csrf_token})
130-
assert res.status_code == 200
131130

132131
res = app.get(url, expect_errors=True)
133132
assert res.json['message'] == 'You have recently requested to change your password. Please wait a few minutes before trying again.'

0 commit comments

Comments
 (0)