Merge pull request #1068 from alphagov/hmcts

add hmcts.net to email whitelist
This commit is contained in:
Leo Hemsted
2017-01-03 13:07:06 +00:00
committed by GitHub
2 changed files with 2 additions and 0 deletions

View File

@@ -64,6 +64,7 @@ class Config(object):
r"dclgdatamart\.co\.uk",
r"ucds\.email",
r"naturalengland\.org\.uk",
r"hmcts.net",
]

View File

@@ -81,6 +81,7 @@ def _gen_mock_field(x):
'test@GOV.PoliCe.uk',
'test@ucds.email',
'test@naturalengland.org.uk',
'test@hmcts.net',
])
def test_valid_list_of_white_list_email_domains(app_, email):
with app_.test_request_context():