Valid email domains added and tests passing.

This commit is contained in:
Nicholas Staples
2016-03-18 12:05:50 +00:00
parent 11db35f9bd
commit 8a203c0155
11 changed files with 77 additions and 14 deletions

View File

@@ -71,7 +71,8 @@ def test_should_return_400_when_email_is_not_gov_uk(app_,
'password': 'validPassword!'})
assert response.status_code == 200
assert 'Enter a gov.uk email address' in response.get_data(as_text=True)
print(response.get_data(as_text=True))
assert 'Enter a central government email address' in response.get_data(as_text=True)
def test_should_add_verify_codes_on_session(app_,