mirror of
https://github.com/GSA/notifications-admin.git
synced 2025-12-11 23:53:52 -05:00
flake8
This commit is contained in:
@@ -543,7 +543,7 @@
|
||||
"filename": "tests/app/main/views/test_register.py",
|
||||
"hashed_secret": "bb5b7caa27d005d38039e3797c3ddb9bcd22c3c8",
|
||||
"is_verified": false,
|
||||
"line_number": 257,
|
||||
"line_number": 256,
|
||||
"is_secret": false
|
||||
}
|
||||
],
|
||||
@@ -634,5 +634,5 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"generated_at": "2025-06-18T01:08:37Z"
|
||||
"generated_at": "2025-06-18T16:51:20Z"
|
||||
}
|
||||
|
||||
@@ -176,7 +176,7 @@ def test_should_return_200_if_password_is_on_list_of_commonly_used_passwords(
|
||||
|
||||
mocker.patch("app.notify_client.user_api_client.UserApiClient.deactivate_user")
|
||||
client_request.logout()
|
||||
page = client_request.post(
|
||||
client_request.post(
|
||||
"main.register",
|
||||
_data={
|
||||
"name": "Bad Mobile",
|
||||
@@ -188,7 +188,6 @@ def test_should_return_200_if_password_is_on_list_of_commonly_used_passwords(
|
||||
)
|
||||
|
||||
|
||||
|
||||
def test_register_with_existing_email_sends_emails(
|
||||
client_request,
|
||||
api_user_active,
|
||||
@@ -379,7 +378,6 @@ def test_cannot_register_with_sms_auth_and_missing_mobile_number(
|
||||
)
|
||||
|
||||
|
||||
|
||||
def test_check_invited_user_email_address_matches_expected(mocker):
|
||||
mock_flash = mocker.patch("app.main.views.register.flash")
|
||||
mock_abort = mocker.patch("app.main.views.register.abort")
|
||||
|
||||
Reference in New Issue
Block a user