This commit is contained in:
Matt Wright
2012-08-21 17:34:38 -04:00
parent 58685f2bb4
commit d3c23c1994
3 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -404,7 +404,7 @@ class RecoverableTests(SecurityTest):
r = self.client.post('/reset',
data=dict(email='larry@lp.com'),
follow_redirects=True)
self.assertIn('Invalid email address', r.data)
self.assertIn("Specified user does not exist", r.data)
def test_reset_password_with_valid_token(self):
with capture_reset_password_requests() as requests: