mirror of
https://github.com/django/django.git
synced 2025-02-08 08:26:13 +00:00
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…
x
Reference in New Issue
Block a user