Add Natural England to gov. email domains list

> I cannot register as the Email address field will not accept my email
> address format (.org.uk).  Natural England is a non-departmental
> government body sponsored by Defra (Department for Environment, Food
> and Rural Affairs).  Can you register me on the system or change the
> system so it will accept my email address?

– Deskpro ticket

> Natural England is an executive non-departmental public body,
> sponsored by the Department for Environment, Food & Rural Affairs.

– https://www.gov.uk/government/organisations/natural-england

***

Checks out…
This commit is contained in:
Chris Hill-Scott
2016-12-07 12:58:49 +00:00
parent 6d166f9b83
commit b4a7ffff8d
2 changed files with 4 additions and 2 deletions

View File

@@ -68,7 +68,8 @@ class Config(object):
r"valtech\.co\.uk",
r"cgi\.com",
r"capita\.co\.uk",
r"ucds\.email"
r"ucds\.email",
r"naturalengland\.org\.uk",
]

View File

@@ -81,7 +81,8 @@ def _gen_mock_field(x):
'test@GOV.PoliCe.uk',
'test@valtech.co.uk',
'test@cgi.com',
'test@ucds.email'
'test@ucds.email',
'test@naturalengland.org.uk',
])
def test_valid_list_of_white_list_email_domains(app_, email):
with app_.test_request_context():