From 6d421a04247499e5611b8dda68ae3ffa98252c72 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Wed, 20 Sep 2017 16:23:18 +0100 Subject: [PATCH] Add Biotechnology and Biological Sciences Research Council to email domain list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit > BBSRC is an executive non-departmental public body, sponsored by the > Department for Business, Energy & Industrial Strategy. – https://www.gov.uk/government/organisations/biotechnology-biological-sciences-research-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 7a2412e5e..2543c7a99 100644 --- a/app/config.py +++ b/app/config.py @@ -87,6 +87,7 @@ class Config(object): r"bl\.uk", r"stfc\.ac\.uk", r"wmfs\.net", + r"bbsrc\.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 fd6caa69b..8c823aa70 100644 --- a/tests/app/main/test_validators.py +++ b/tests/app/main/test_validators.py @@ -96,6 +96,7 @@ def _gen_mock_field(x): 'test@bl.uk', 'test@stfc.ac.uk', 'test@wmfs.net', + 'test@bbsrc.ac.uk', ]) def test_valid_list_of_white_list_email_domains( client,