mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-28 11:21:37 -04:00
This PR allows the pentesters to operate as part of white listed root domains. Needed for full app testing.
This commit is contained in:
@@ -65,6 +65,7 @@ class Config(object):
|
||||
r"ucds\.email",
|
||||
r"naturalengland\.org\.uk",
|
||||
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