From 74992da1c88f677e3f00ed32012bcfedc3c9058a Mon Sep 17 00:00:00 2001 From: Pete Herlihy Date: Thu, 28 Sep 2017 16:35:17 +0100 Subject: [PATCH] Adding acas.org.uk to whitelist --- 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 2543c7a99..3245dc8f0 100644 --- a/app/config.py +++ b/app/config.py @@ -88,6 +88,7 @@ class Config(object): r"stfc\.ac\.uk", r"wmfs\.net", r"bbsrc\.ac\.uk", + r"acas\.org\.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 8c823aa70..7b70e74dd 100644 --- a/tests/app/main/test_validators.py +++ b/tests/app/main/test_validators.py @@ -97,6 +97,7 @@ def _gen_mock_field(x): 'test@stfc.ac.uk', 'test@wmfs.net', 'test@bbsrc.ac.uk', + 'test@acas.org.uk', ]) def test_valid_list_of_white_list_email_domains( client,