Correct whitelist to non-government in test name

See c31264d4c for why ‘whitelist’ should be avoided. The use of
whitelist here was not referring to the user-maintained list, but to
mean ‘not a government’ email address. This commit renames these tests
to make that difference clear.
This commit is contained in:
Chris Hill-Scott
2020-06-12 09:15:23 +01:00
parent 8bc5fa5bb0
commit 0f0b2dad3f
4 changed files with 7 additions and 7 deletions

View File

@@ -684,7 +684,7 @@ def test_should_show_folder_permission_form_if_service_has_folder_permissions_en
@pytest.mark.parametrize('email_address, gov_user', [
('test@example.gov.uk', True),
('test@nonwhitelist.com', False)
('test@example.com', False)
])
def test_invite_user(
client_request,
@@ -735,7 +735,7 @@ def test_invite_user(
])
@pytest.mark.parametrize('email_address, gov_user', [
('test@example.gov.uk', True),
('test@nonwhitelist.com', False)
('test@example.com', False)
])
def test_invite_user_with_email_auth_service(
client_request,