Ticket #8552: auth_test_views.patch
File auth_test_views.patch, 576 bytes (added by , 16 years ago) |
---|
-
django/contrib/auth/tests/views.py
113 113 } 114 114 ) 115 115 self.assertEquals(response.status_code, 302) 116 self.assert_(response['Location'].endswith( '/accounts/profile/'))116 self.assert_(response['Location'].endswith(settings.LOGIN_REDIRECT_URL)) 117 117 118 118 def fail_login(self, password='password'): 119 119 response = self.client.post('/login/', {