From c780c94fb60e975914687f297f98269ab08e007c Mon Sep 17 00:00:00 2001 From: Leo Hemsted Date: Wed, 10 Jan 2018 10:47:40 +0000 Subject: [PATCH 1/3] derry strabane council email whitelist --- app/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/config.py b/app/config.py index c4443ee1f..547821b47 100644 --- a/app/config.py +++ b/app/config.py @@ -98,6 +98,7 @@ class Config(object): r"biglotteryfund\.org\.uk", r"marinemanagement\.org\.uk", r"britishmuseum\.org", + r"derrystrabane\.com", ] LOGO_UPLOAD_BUCKET_NAME = 'public-logos-local' From 224b9e509870587a10552639c89caf9d97508733 Mon Sep 17 00:00:00 2001 From: Leo Hemsted Date: Wed, 10 Jan 2018 10:48:58 +0000 Subject: [PATCH 2/3] Update test_validators.py --- 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 f7a6f959d..d1fd670fa 100644 --- a/tests/app/main/test_validators.py +++ b/tests/app/main/test_validators.py @@ -136,6 +136,7 @@ def test_valid_list_of_white_list_email_domains( 'test@police.test.uk', 'test@ucds.com', 'test@123bl.uk', + 'test@derrystrabane.com', ]) def test_invalid_list_of_white_list_email_domains( client, From b27eacb03b7910e4c7c197bb8113f27093bd9693 Mon Sep 17 00:00:00 2001 From: Leo Hemsted Date: Wed, 10 Jan 2018 10:56:21 +0000 Subject: [PATCH 3/3] oops --- tests/app/main/test_validators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/app/main/test_validators.py b/tests/app/main/test_validators.py index d1fd670fa..43f094cbc 100644 --- a/tests/app/main/test_validators.py +++ b/tests/app/main/test_validators.py @@ -101,6 +101,7 @@ def _gen_mock_field(x): 'test@biglotteryfund.org.uk', 'test@marinemanagement.org.uk', 'test@britishmuseum.org', + 'test@derrystrabane.com', ]) def test_valid_list_of_white_list_email_domains( client, @@ -136,7 +137,6 @@ def test_valid_list_of_white_list_email_domains( 'test@police.test.uk', 'test@ucds.com', 'test@123bl.uk', - 'test@derrystrabane.com', ]) def test_invalid_list_of_white_list_email_domains( client,