mirror of
https://github.com/Hopiu/django.git
synced 2026-05-20 05:11:50 +00:00
Refs #23793 -- Fixed test failure after password reset messages clarification
This commit is contained in:
parent
9a5a4361c5
commit
c1584e1df4
1 changed files with 2 additions and 2 deletions
|
|
@ -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/')
|
||||
|
|
|
|||
Loading…
Reference in a new issue