mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 16:24:08 -04:00
Merge pull request #1419 from alphagov/british-library-domain
Add British Library to email domain whitelist
This commit is contained in:
@@ -85,6 +85,7 @@ class Config(object):
|
|||||||
r"assembly\.wales",
|
r"assembly\.wales",
|
||||||
r"cjsm\.net",
|
r"cjsm\.net",
|
||||||
r"cqc\.org\.uk",
|
r"cqc\.org\.uk",
|
||||||
|
r"bl\.uk",
|
||||||
]
|
]
|
||||||
|
|
||||||
LOGO_UPLOAD_BUCKET_NAME = 'public-logos-local'
|
LOGO_UPLOAD_BUCKET_NAME = 'public-logos-local'
|
||||||
|
|||||||
@@ -93,6 +93,7 @@ def _gen_mock_field(x):
|
|||||||
'test@cjsm.net',
|
'test@cjsm.net',
|
||||||
'test@cqc.org.uk',
|
'test@cqc.org.uk',
|
||||||
'test@digital.cqc.org.uk',
|
'test@digital.cqc.org.uk',
|
||||||
|
'test@bl.uk',
|
||||||
])
|
])
|
||||||
def test_valid_list_of_white_list_email_domains(
|
def test_valid_list_of_white_list_email_domains(
|
||||||
client,
|
client,
|
||||||
@@ -126,7 +127,8 @@ def test_valid_list_of_white_list_email_domains(
|
|||||||
'test@ukpolice.uk',
|
'test@ukpolice.uk',
|
||||||
'test@police.uk.uk',
|
'test@police.uk.uk',
|
||||||
'test@police.test.uk',
|
'test@police.test.uk',
|
||||||
'test@ucds.com'
|
'test@ucds.com',
|
||||||
|
'test@123bl.uk',
|
||||||
])
|
])
|
||||||
def test_invalid_list_of_white_list_email_domains(
|
def test_invalid_list_of_white_list_email_domains(
|
||||||
client,
|
client,
|
||||||
|
|||||||
Reference in New Issue
Block a user