From 892aac44b246bbba998e44d1111e864258afcfb4 Mon Sep 17 00:00:00 2001 From: Pete Herlihy Date: Tue, 30 Jan 2018 11:20:52 +0000 Subject: [PATCH 1/2] Adding Highways England to the whitelist of domains --- app/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/config.py b/app/config.py index 547821b47..fdb87bad0 100644 --- a/app/config.py +++ b/app/config.py @@ -99,6 +99,7 @@ class Config(object): r"marinemanagement\.org\.uk", r"britishmuseum\.org", r"derrystrabane\.com", + r"highwaysengland\.co\.uk", ] LOGO_UPLOAD_BUCKET_NAME = 'public-logos-local' From 57b711ebdc13e51b2310d354473657c88d6afdd3 Mon Sep 17 00:00:00 2001 From: Pete Herlihy Date: Tue, 30 Jan 2018 11:22:17 +0000 Subject: [PATCH 2/2] Adding Highways England to allowed domains tests --- tests/app/main/test_validators.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/app/main/test_validators.py b/tests/app/main/test_validators.py index 43f094cbc..e3e222686 100644 --- a/tests/app/main/test_validators.py +++ b/tests/app/main/test_validators.py @@ -102,6 +102,7 @@ def _gen_mock_field(x): 'test@marinemanagement.org.uk', 'test@britishmuseum.org', 'test@derrystrabane.com', + 'test@highwaysengland.co.uk', ]) def test_valid_list_of_white_list_email_domains( client,