mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-02 12:49:01 -04:00
Merge pull request #1071 from alphagov/pentester-as-valid-domain
This PR allows the pentesters to operate as part of white listed root…
This commit is contained in:
@@ -64,7 +64,8 @@ class Config(object):
|
||||
r"dclgdatamart\.co\.uk",
|
||||
r"ucds\.email",
|
||||
r"naturalengland\.org\.uk",
|
||||
r"hmcts.net",
|
||||
r"hmcts\.net",
|
||||
r"irmsecurity\.com", # temp addition for pen testers to be able to create account
|
||||
]
|
||||
|
||||
|
||||
|
||||
@@ -82,6 +82,7 @@ def _gen_mock_field(x):
|
||||
'test@ucds.email',
|
||||
'test@naturalengland.org.uk',
|
||||
'test@hmcts.net',
|
||||
'test@irmsecurity.com' # remove once pen test complete
|
||||
])
|
||||
def test_valid_list_of_white_list_email_domains(app_, email):
|
||||
with app_.test_request_context():
|
||||
|
||||
Reference in New Issue
Block a user