Add a new domain for the email domain regex.

This commit is contained in:
Rebecca Law
2016-09-15 09:39:44 +01:00
parent 77f81ad08e
commit ef792d9d2a
2 changed files with 3 additions and 1 deletions

View File

@@ -57,7 +57,8 @@ class Config(object):
"kainos\.com", "kainos\.com",
"salesforce\.com", "salesforce\.com",
"bitzesty\.com", "bitzesty\.com",
"dclgdatamart\.co\.uk"] "dclgdatamart\.co\.uk",
"valtech\.co\.uk"]
class Development(Config): class Development(Config):

View File

@@ -76,6 +76,7 @@ def _gen_mock_field(x):
'test@police.uk', 'test@police.uk',
'test@gov.police.uk', 'test@gov.police.uk',
'test@GOV.PoliCe.uk', 'test@GOV.PoliCe.uk',
'test@valtech.co.uk'
]) ])
def test_valid_list_of_white_list_email_domains(app_, email): def test_valid_list_of_white_list_email_domains(app_, email):
with app_.test_request_context(): with app_.test_request_context():