mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-28 01:50:12 -04:00
Add British Library to email domain whitelist
I think that British Library can use Notify. Need to double check though. > BL is an executive non-departmental public body, sponsored by the > Department for Digital, Culture, Media & Sport. > https://www.bl.uk/ — https://www.gov.uk/government/organisations/british-library
This commit is contained in:
@@ -85,6 +85,7 @@ class Config(object):
|
||||
r"assembly\.wales",
|
||||
r"cjsm\.net",
|
||||
r"cqc\.org\.uk",
|
||||
r"bl\.uk",
|
||||
]
|
||||
|
||||
LOGO_UPLOAD_BUCKET_NAME = 'public-logos-local'
|
||||
|
||||
@@ -93,6 +93,7 @@ def _gen_mock_field(x):
|
||||
'test@cjsm.net',
|
||||
'test@cqc.org.uk',
|
||||
'test@digital.cqc.org.uk',
|
||||
'test@bl.uk',
|
||||
])
|
||||
def test_valid_list_of_white_list_email_domains(
|
||||
client,
|
||||
@@ -126,7 +127,8 @@ def test_valid_list_of_white_list_email_domains(
|
||||
'test@ukpolice.uk',
|
||||
'test@police.uk.uk',
|
||||
'test@police.test.uk',
|
||||
'test@ucds.com'
|
||||
'test@ucds.com',
|
||||
'test@123bl.uk',
|
||||
])
|
||||
def test_invalid_list_of_white_list_email_domains(
|
||||
client,
|
||||
|
||||
Reference in New Issue
Block a user