Add additional steps to the test_change_hash_type and make change to verify_and_update_password to make the test pass. Fixes #328.

This commit is contained in:
Matt Wright
2014-10-13 13:25:01 -04:00
parent 76ad77a233
commit fe7e4c4afc
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -171,6 +171,11 @@ def test_change_hash_type(app, sqlalchemy_datastore):
response = client.post('/login', data=dict(email='matt@lp.com', password='password'))
assert response.status_code == 302
response = client.get('/logout')
response = client.post('/login', data=dict(email='matt@lp.com', password='password'))
assert response.status_code == 302
def test_md5():
data = md5(b'hello')