Loading django/contrib/auth/tests/test_templates.py +2 −2 Original line number Diff line number Diff line Loading @@ -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 Loading
django/contrib/auth/tests/test_templates.py +2 −2 Original line number Diff line number Diff line Loading @@ -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