mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-26 01:04:00 -04:00
Merge pull request #1068 from alphagov/hmcts
add hmcts.net to email whitelist
This commit is contained in:
@@ -64,6 +64,7 @@ class Config(object):
|
|||||||
r"dclgdatamart\.co\.uk",
|
r"dclgdatamart\.co\.uk",
|
||||||
r"ucds\.email",
|
r"ucds\.email",
|
||||||
r"naturalengland\.org\.uk",
|
r"naturalengland\.org\.uk",
|
||||||
|
r"hmcts.net",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -81,6 +81,7 @@ def _gen_mock_field(x):
|
|||||||
'test@GOV.PoliCe.uk',
|
'test@GOV.PoliCe.uk',
|
||||||
'test@ucds.email',
|
'test@ucds.email',
|
||||||
'test@naturalengland.org.uk',
|
'test@naturalengland.org.uk',
|
||||||
|
'test@hmcts.net',
|
||||||
])
|
])
|
||||||
def test_valid_list_of_white_list_email_domains(app_, email):
|
def test_valid_list_of_white_list_email_domains(app_, email):
|
||||||
with app_.test_request_context():
|
with app_.test_request_context():
|
||||||
|
|||||||
Reference in New Issue
Block a user