add hmcts.net to email whitelist

(HM Courts & Tribunals Service)
This commit is contained in:
Leo Hemsted
2017-01-03 12:34:57 +00:00
parent cc40f81ded
commit f1feaaaccc
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():