This commit is contained in:
Kenneth Kehl
2025-07-17 11:41:22 -07:00
parent db02b78580
commit 2c8fd3909d

View File

@@ -405,7 +405,10 @@ def test_check_user_email_address_fails_if_not_government_address(mocker):
"fake@fake.bogus", "Fake@Fake.BOGUS" "fake@fake.bogus", "Fake@Fake.BOGUS"
) )
mock_flash.assert_called_once_with("You must use a government email address.") mock_flash.assert_called_once_with("You must use a government email address.")
mock_abort.assert_called_once_with(403) mock_abort.assert_called_once_with(
403,
+"You must use a government email address #invites",
)
def test_check_user_email_address_succeeds_if_government_address(mocker): def test_check_user_email_address_succeeds_if_government_address(mocker):