diff --git a/app/config.py b/app/config.py index 6664ea46b..d05be8647 100644 --- a/app/config.py +++ b/app/config.py @@ -85,6 +85,7 @@ class Config(object): r"assembly\.wales", r"cjsm\.net", r"cqc\.org\.uk", + r"bl\.uk", ] LOGO_UPLOAD_BUCKET_NAME = 'public-logos-local' diff --git a/tests/app/main/test_validators.py b/tests/app/main/test_validators.py index e9bf96db2..5f17ec2d3 100644 --- a/tests/app/main/test_validators.py +++ b/tests/app/main/test_validators.py @@ -93,6 +93,7 @@ def _gen_mock_field(x): 'test@cjsm.net', 'test@cqc.org.uk', 'test@digital.cqc.org.uk', + 'test@bl.uk', ]) def test_valid_list_of_white_list_email_domains( client, @@ -126,7 +127,8 @@ def test_valid_list_of_white_list_email_domains( 'test@ukpolice.uk', 'test@police.uk.uk', 'test@police.test.uk', - 'test@ucds.com' + 'test@ucds.com', + 'test@123bl.uk', ]) def test_invalid_list_of_white_list_email_domains( client,