mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-05 23:08:25 -04:00
Remove test for temp_create_user, removed in previous commit.
This commit is contained in:
@@ -28,14 +28,6 @@ def test_process_sign_in_return_2fa_template(notifications_admin, notifications_
|
|||||||
assert response.location == 'http://localhost/two-factor'
|
assert response.location == 'http://localhost/two-factor'
|
||||||
|
|
||||||
|
|
||||||
def test_temp_create_user(notifications_admin, notifications_admin_db):
|
|
||||||
response = notifications_admin.test_client().post('/temp-create-users',
|
|
||||||
data={'email_address': 'testing@example.gov.uk',
|
|
||||||
'password': 'val1dPassw0rd!'})
|
|
||||||
|
|
||||||
assert response.status_code == 302
|
|
||||||
|
|
||||||
|
|
||||||
def test_should_return_locked_out_true_when_user_is_locked(notifications_admin, notifications_admin_db):
|
def test_should_return_locked_out_true_when_user_is_locked(notifications_admin, notifications_admin_db):
|
||||||
user = User(email_address='valid@example.gov.uk',
|
user = User(email_address='valid@example.gov.uk',
|
||||||
password='val1dPassw0rd!',
|
password='val1dPassw0rd!',
|
||||||
|
|||||||
Reference in New Issue
Block a user