Refs #23793 -- Fixed test failure after password reset messages clarification

This commit is contained in:
Erik Romijn 2014-11-15 17:05:24 +01:00
parent 9a5a4361c5
commit c1584e1df4
1 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@ class AuthTemplateTests(TestCase):
self.assertContains(response, '<h1>Password reset</h1>') self.assertContains(response, '<h1>Password reset</h1>')
response = password_reset_done(request) response = password_reset_done(request)
self.assertContains(response, '<title>Password reset successful</title>') self.assertContains(response, '<title>Password reset sent</title>')
self.assertContains(response, '<h1>Password reset successful</h1>') self.assertContains(response, '<h1>Password reset sent</h1>')
# password_reset_confirm invalid token # password_reset_confirm invalid token
response = password_reset_confirm(request, uidb64='Bad', token='Bad', post_reset_redirect='dummy/') response = password_reset_confirm(request, uidb64='Bad', token='Bad', post_reset_redirect='dummy/')