This commit is contained in:
Beverly Nguyen
2025-06-18 09:51:31 -07:00
parent d620243e32
commit 3fbbb1b06d
2 changed files with 3 additions and 5 deletions

View File

@@ -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")