mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-10 05:14:05 -05:00
fix test
This commit is contained in:
@@ -405,7 +405,10 @@ def test_check_user_email_address_fails_if_not_government_address(mocker):
|
||||
"fake@fake.bogus", "Fake@Fake.BOGUS"
|
||||
)
|
||||
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):
|
||||
|
||||
Reference in New Issue
Block a user