From e3d26bb2a2effcda3314b8e7764f8bf3295ae502 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Mon, 14 Aug 2017 09:52:11 +0100 Subject: [PATCH] Allow Science & Technology Facilities Council MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit > STFC is an executive non-departmental public body, sponsored by the > Department for Business, Energy & Industrial Strategy. > http://www.stfc.ac.uk/ – https://www.gov.uk/government/organisations/science-and-technology-facilities-council --- 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 d05be8647..4f48121ce 100644 --- a/app/config.py +++ b/app/config.py @@ -86,6 +86,7 @@ class Config(object): r"cjsm\.net", r"cqc\.org\.uk", r"bl\.uk", + r"stfc\.ac\.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 ffcc816e6..8ed83a8d8 100644 --- a/tests/app/main/test_validators.py +++ b/tests/app/main/test_validators.py @@ -94,6 +94,7 @@ def _gen_mock_field(x): 'test@cqc.org.uk', 'test@digital.cqc.org.uk', 'test@bl.uk', + 'test@stfc.ac.uk', ]) def test_valid_list_of_white_list_email_domains( client,