mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 10:28:41 -04:00
Merge pull request #3914 from alphagov/prune-email-domains-list
Prune the email domains list
This commit is contained in:
@@ -1,21 +1,10 @@
|
|||||||
gov.uk
|
gov.uk
|
||||||
mod.uk
|
|
||||||
mil.uk
|
|
||||||
ddc-mod.org
|
|
||||||
gov.scot
|
|
||||||
parliament.scot
|
|
||||||
parliament.uk
|
|
||||||
nhs.uk
|
nhs.uk
|
||||||
nhs.net
|
nhs.net
|
||||||
nhs.scot
|
nhs.scot
|
||||||
police.uk
|
police.uk
|
||||||
scotent.co.uk
|
|
||||||
assembly.wales
|
|
||||||
cjsm.net
|
cjsm.net
|
||||||
gov.wales
|
|
||||||
ac.uk
|
ac.uk
|
||||||
sch.uk
|
sch.uk
|
||||||
onevoicewales.wales
|
onevoicewales.wales
|
||||||
mtvh.co.uk
|
|
||||||
wmca.org.uk
|
|
||||||
suttonmail.org
|
suttonmail.org
|
||||||
|
|||||||
@@ -80,23 +80,17 @@ def _gen_mock_field(x):
|
|||||||
'test@gov.uK',
|
'test@gov.uK',
|
||||||
'test@test.test.gov.uk',
|
'test@test.test.gov.uk',
|
||||||
'test@test.gov.uk',
|
'test@test.gov.uk',
|
||||||
'test@mod.uk',
|
|
||||||
'test@ddc-mod.org',
|
|
||||||
'test@test.ddc-mod.org',
|
|
||||||
'test@gov.scot',
|
|
||||||
'test@test.gov.scot',
|
|
||||||
'test@parliament.uk',
|
|
||||||
'test@gov.parliament.uk',
|
|
||||||
'test@nhs.uk',
|
'test@nhs.uk',
|
||||||
'test@gov.nhs.uk',
|
'test@gov.nhs.uk',
|
||||||
'test@nhs.net',
|
'test@nhs.net',
|
||||||
'test@gov.nhs.net',
|
'test@gov.nhs.net',
|
||||||
|
'test@nhs.scot',
|
||||||
'test@police.uk',
|
'test@police.uk',
|
||||||
'test@gov.police.uk',
|
'test@gov.police.uk',
|
||||||
'test@GOV.PoliCe.uk',
|
'test@GOV.PoliCe.uk',
|
||||||
'test@scotent.co.uk',
|
|
||||||
'test@assembly.wales',
|
|
||||||
'test@cjsm.net',
|
'test@cjsm.net',
|
||||||
|
'test@example.ac.uk',
|
||||||
|
'test@example.sch.uk',
|
||||||
])
|
])
|
||||||
def test_valid_list_of_white_list_email_domains(
|
def test_valid_list_of_white_list_email_domains(
|
||||||
client,
|
client,
|
||||||
|
|||||||
Reference in New Issue
Block a user