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:
minglis
2017-01-17 09:01:24 +00:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

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

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