Commit b7bb7aef authored by Michal Čihař's avatar Michal Čihař

Silent pylint on unused variables

parent ca838b6c
...@@ -178,8 +178,9 @@ class EditTest(ViewTestCase): ...@@ -178,8 +178,9 @@ class EditTest(ViewTestCase):
''' '''
self.assertEqual(response.status_code, 302) self.assertEqual(response.status_code, 302)
url = response['Location'] # We don't use all variables
scheme, netloc, path, query, fragment = urlsplit(url) # pylint: disable=W0612
scheme, netloc, path, query, fragment = urlsplit(response['Location'])
self.assertEqual(path, exp_path) self.assertEqual(path, exp_path)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment