From deb959e83515594ed2ee16c6671ffa7fb1147d80 Mon Sep 17 00:00:00 2001 From: Leo Hemsted Date: Wed, 8 Mar 2017 14:08:57 +0000 Subject: [PATCH] welsh assembly emails - foo@assembly.wales --- app/config.py | 1 + tests/app/main/test_validators.py | 1 + 2 files changed, 2 insertions(+) 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,