diff --git a/app/config.py b/app/config.py index 7bad978ef..57f0ecffd 100644 --- a/app/config.py +++ b/app/config.py @@ -76,6 +76,7 @@ class Config(object): r"ucds\.email", r"naturalengland\.org\.uk", r"hmcts\.net", + r"scotent\.co\.uk", ] diff --git a/tests/app/main/test_validators.py b/tests/app/main/test_validators.py index e25a207cd..1b9979098 100644 --- a/tests/app/main/test_validators.py +++ b/tests/app/main/test_validators.py @@ -88,6 +88,7 @@ def _gen_mock_field(x): 'test@ucds.email', 'test@naturalengland.org.uk', 'test@hmcts.net', + 'test@scotent.co.uk', ]) def test_valid_list_of_white_list_email_domains( client,