diff --git a/config.py b/config.py index ec929e34d..a81fc4e62 100644 --- a/config.py +++ b/config.py @@ -64,6 +64,7 @@ class Config(object): r"dclgdatamart\.co\.uk", r"ucds\.email", r"naturalengland\.org\.uk", + r"hmcts.net", ] diff --git a/tests/app/main/test_validators.py b/tests/app/main/test_validators.py index 672666bf5..09c12f3d3 100644 --- a/tests/app/main/test_validators.py +++ b/tests/app/main/test_validators.py @@ -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():