mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-06 03:13:42 -05:00
add hmcts.net to email whitelist
(HM Courts & Tribunals Service)
This commit is contained in:
@@ -64,6 +64,7 @@ class Config(object):
|
||||
r"dclgdatamart\.co\.uk",
|
||||
r"ucds\.email",
|
||||
r"naturalengland\.org\.uk",
|
||||
r"hmcts.net",
|
||||
]
|
||||
|
||||
|
||||
|
||||
@@ -81,6 +81,7 @@ def _gen_mock_field(x):
|
||||
'test@GOV.PoliCe.uk',
|
||||
'test@ucds.email',
|
||||
'test@naturalengland.org.uk',
|
||||
'test@hmcts.net',
|
||||
])
|
||||
def test_valid_list_of_white_list_email_domains(app_, email):
|
||||
with app_.test_request_context():
|
||||
|
||||
Reference in New Issue
Block a user