Ticket #16413: 16413.diff
File 16413.diff, 648 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(settings.LOGIN_URL + '?next=/password_change/done/')) 211 211 212 212 213 213 class LoginTest(AuthViewsTestCase):