mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Merge pull request #1296 from alphagov/whitelist-domain
Add cjsm.net to whitelist
This commit is contained in:
@@ -81,6 +81,7 @@ class Config(object):
|
|||||||
r"hmcts\.net",
|
r"hmcts\.net",
|
||||||
r"scotent\.co\.uk",
|
r"scotent\.co\.uk",
|
||||||
r"assembly\.wales",
|
r"assembly\.wales",
|
||||||
|
r"cjsm\.net",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -90,6 +90,7 @@ 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'
|
||||||
])
|
])
|
||||||
def test_valid_list_of_white_list_email_domains(
|
def test_valid_list_of_white_list_email_domains(
|
||||||
client,
|
client,
|
||||||
|
|||||||
Reference in New Issue
Block a user