Refs #23793 -- Fixed test failure after password reset messages clarification
This commit is contained in:
parent
9a5a4361c5
commit
c1584e1df4
|
@ -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 New Issue