From 1e7b330bd9e660c6f117640a557ba71c6f9609a1 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 4 Jan 2018 15:36:22 +0000 Subject: [PATCH] Add British Museum to whitelist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit > BM is an executive non-departmental public body, sponsored by the > Department for Digital, Culture, Media & Sport. > > British Museum has a separate website (http://www.britishmuseum.org) – https://www.gov.uk/government/organisations/british-museum --- 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 04b0bbc59..3fe195776 100644 --- a/app/config.py +++ b/app/config.py @@ -97,6 +97,7 @@ class Config(object): r"gov\.wales", r"biglotteryfund\.org\.uk", r"marinemanagement\.org\.uk", + r"britishmuseum\.org", ] LOGO_UPLOAD_BUCKET_NAME = 'public-logos-local' diff --git a/tests/app/main/test_validators.py b/tests/app/main/test_validators.py index f16e71a2c..f7a6f959d 100644 --- a/tests/app/main/test_validators.py +++ b/tests/app/main/test_validators.py @@ -100,6 +100,7 @@ def _gen_mock_field(x): 'test@acas.org.uk', 'test@biglotteryfund.org.uk', 'test@marinemanagement.org.uk', + 'test@britishmuseum.org', ]) def test_valid_list_of_white_list_email_domains( client,