Ticket #16517: test_password_change_done_fails.diff
File test_password_change_done_fails.diff, 628 bytes (added by , 13 years ago) |
---|
-
django/contrib/auth/tests/views.py
207 207 def test_password_change_done_fails(self): 208 208 response = self.client.get('/password_change/done/') 209 209 self.assertEqual(response.status_code, 302) 210 self.assertTrue(response['Location'].endswith('/ login/?next=/password_change/done/'))210 self.assertTrue(response['Location'].endswith('/?next=/password_change/done/')) 211 211 212 212 213 213 class LoginTest(AuthViewsTestCase):