Ticket #16517: test_password_change_done_fails.diff

File test_password_change_done_fails.diff, 628 bytes (added by Bjorn Kristinsson, 13 years ago)
  • django/contrib/auth/tests/views.py

     
    207207    def test_password_change_done_fails(self):
    208208        response = self.client.get('/password_change/done/')
    209209        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/'))
    211211
    212212
    213213class LoginTest(AuthViewsTestCase):
Back to Top