Login user after they register

This commit is contained in:
Rebecca Law
2015-12-01 16:40:19 +00:00
parent 3b96b6e5ca
commit 9d9b80bab7
2 changed files with 4 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ def test_should_return_400_if_password_is_blacklisted(notifications_admin, notif
data={'name': 'Bad Mobile',
'email_address': 'bad_mobile@example.not.right',
'mobile_number': '+44123412345',
'password': 'password'})
'password': 'password1234'})
response.status_code == 400
assert 'That password is blacklisted, too common' in response.get_data(as_text=True)
assert 'That password is blacklisted, too common' in response.get_data(as_text=True)