mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-09 09:59:50 -04:00
Fix indentation
This commit is contained in:
@@ -430,10 +430,10 @@ def test_send_user_reset_password_should_return_400_when_email_is_missing(notify
|
|||||||
data = json.dumps({})
|
data = json.dumps({})
|
||||||
auth_header = create_authorization_header()
|
auth_header = create_authorization_header()
|
||||||
|
|
||||||
resp = client.post(
|
resp = client.post(
|
||||||
url_for('user.send_user_reset_password'),
|
url_for('user.send_user_reset_password'),
|
||||||
data=data,
|
data=data,
|
||||||
headers=[('Content-Type', 'application/json'), auth_header])
|
headers=[('Content-Type', 'application/json'), auth_header])
|
||||||
|
|
||||||
assert resp.status_code == 400
|
assert resp.status_code == 400
|
||||||
assert json.loads(resp.get_data(as_text=True))['message'] == {'email': ['Missing data for required field.']}
|
assert json.loads(resp.get_data(as_text=True))['message'] == {'email': ['Missing data for required field.']}
|
||||||
|
|||||||
Reference in New Issue
Block a user