mirror of https://github.com/django/django.git
Removed unnecessary urlsplit() call from SimpleTestCase.assertRedirects().
This commit is contained in:
parent
b88f98738f
commit
3718bc5c8d
|
@ -345,7 +345,6 @@ class SimpleTestCase(unittest.TestCase):
|
|||
)
|
||||
|
||||
url, status_code = response.redirect_chain[-1]
|
||||
scheme, netloc, path, query, fragment = urlsplit(url)
|
||||
|
||||
self.assertEqual(
|
||||
response.status_code, target_status_code,
|
||||
|
|
Loading…
Reference in New Issue