Add Care Quality Commission to email whitelist

CQC is an executive non-departmental public body, sponsored by the
Department of Health.

They have asked to be allowed to register for Notify using the
`cqc.org.uk` and `digital.cqc.org.uk` domains. We know that this really
is there domain because it’s linked to from here:

https://www.gov.uk/government/organisations/care-quality-commission
This commit is contained in:
Chris Hill-Scott
2017-06-05 13:51:53 +01:00
parent 6e6f3ad794
commit 3d45454330
2 changed files with 4 additions and 1 deletions

View File

@@ -82,6 +82,7 @@ class Config(object):
r"scotent\.co\.uk", r"scotent\.co\.uk",
r"assembly\.wales", r"assembly\.wales",
r"cjsm\.net", r"cjsm\.net",
r"cqc\.org\.uk",
] ]

View File

@@ -90,7 +90,9 @@ def _gen_mock_field(x):
'test@hmcts.net', 'test@hmcts.net',
'test@scotent.co.uk', 'test@scotent.co.uk',
'test@assembly.wales', 'test@assembly.wales',
'test@cjsm.net' 'test@cjsm.net',
'test@cqc.org.uk',
'test@digital.cqc.org.uk',
]) ])
def test_valid_list_of_white_list_email_domains( def test_valid_list_of_white_list_email_domains(
client, client,