1
0
mirror of https://github.com/django/django.git synced 2024-12-23 09:36:06 +00:00

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

View File

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