diff --git a/app/config.py b/app/config.py index edf1ff18a..895ea82aa 100644 --- a/app/config.py +++ b/app/config.py @@ -73,6 +73,7 @@ class Config(object): r"naturalengland\.org\.uk", r"hmcts\.net", r"scotent\.co\.uk", + r"assembly\.wales", ] diff --git a/tests/app/main/test_validators.py b/tests/app/main/test_validators.py index 1b9979098..dd90b77eb 100644 --- a/tests/app/main/test_validators.py +++ b/tests/app/main/test_validators.py @@ -89,6 +89,7 @@ def _gen_mock_field(x): 'test@naturalengland.org.uk', 'test@hmcts.net', 'test@scotent.co.uk', + 'test@assembly.wales', ]) def test_valid_list_of_white_list_email_domains( client,