mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-17 04:59:37 -04:00
Tidy up inconsistencies in forms
Wherever possible, use the macros.
This commit is contained in:
@@ -16,9 +16,8 @@ def test_should_render_new_password_template(app_,
|
||||
with app_.test_client() as client:
|
||||
token = generate_token(api_user_active.email_address)
|
||||
response = client.get(url_for('.new_password', token=token))
|
||||
print(response.location)
|
||||
assert response.status_code == 200
|
||||
assert ' You can now create a new password for your account.' in response.get_data(as_text=True)
|
||||
assert 'You can now create a new password for your account.' in response.get_data(as_text=True)
|
||||
|
||||
|
||||
@pytest.mark.skipif(True, reason='Password reset no implemented')
|
||||
|
||||
Reference in New Issue
Block a user