Skip to content

Commit

Permalink
Refs #23793 -- Fixed test failure after password reset messages clari…
Browse files Browse the repository at this point in the history
…fication
  • Loading branch information
mxsasha committed Nov 15, 2014
1 parent 9a5a436 commit c1584e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django/contrib/auth/tests/test_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ def test_titles(self):
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/')
Expand Down

0 comments on commit c1584e1

Please sign in to comment.