This PR allows the pentesters to operate as part of white listed root domains. Needed for full app testing.

This commit is contained in:
Martyn Inglis
2017-01-16 14:18:46 +00:00
parent b5cb34c368
commit d45484feb5
2 changed files with 2 additions and 0 deletions

View File

@@ -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
]

View File

@@ -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():