mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-06 11:23:48 -05:00
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:
@@ -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",
|
||||
]
|
||||
|
||||
|
||||
|
||||
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user