Skip to content

Commit

Permalink
Merge pull request #943 from alphagov/add-domain
Browse files Browse the repository at this point in the history
Add a new domain for the email domain regex.
  • Loading branch information
servingUpAces committed Sep 15, 2016
2 parents 77f81ad + ef792d9 commit 945f783
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ class Config(object):
"kainos\.com",
"salesforce\.com",
"bitzesty\.com",
"dclgdatamart\.co\.uk"]
"dclgdatamart\.co\.uk",
"valtech\.co\.uk"]


class Development(Config):
Expand Down
1 change: 1 addition & 0 deletions tests/app/main/test_validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def _gen_mock_field(x):
'test@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):
with app_.test_request_context():
Expand Down

0 comments on commit 945f783

Please sign in to comment.