diff --git a/config.py b/config.py index 1163cd298..a1d8f2670 100644 --- a/config.py +++ b/config.py @@ -59,10 +59,9 @@ class Config(object): "bitzesty\.com", "dclgdatamart\.co\.uk", "valtech\.co\.uk", - "gofreerange\.com", "cgi\.com", - "unboxed\.com", - "capita\.co\.uk"] + "capita\.co\.uk", + "ucds.email"] class Development(Config): diff --git a/tests/app/main/test_validators.py b/tests/app/main/test_validators.py index c14c66184..dd69bf842 100644 --- a/tests/app/main/test_validators.py +++ b/tests/app/main/test_validators.py @@ -80,9 +80,8 @@ def _gen_mock_field(x): 'test@gov.police.uk', 'test@GOV.PoliCe.uk', 'test@valtech.co.uk', - 'test@gofreerange.com', 'test@cgi.com', - 'test@unboxed.com' + 'test@ucds.email' ]) def test_valid_list_of_white_list_email_domains(app_, email): with app_.test_request_context(): @@ -113,7 +112,8 @@ def test_valid_list_of_white_list_email_domains(app_, email): 'test@nhs.test.net', 'test@ukpolice.uk', 'test@police.uk.uk', - 'test@police.test.uk' + 'test@police.test.uk', + 'test@ucds.com' ]) def test_invalid_list_of_white_list_email_domains(app_, email): with app_.test_request_context():