mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 05:59:44 -04: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"
|
"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):
|
||||||
|
|||||||
Reference in New Issue
Block a user