mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-09 21:04:14 -05:00
Add a new domain for the email domain regex.
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user