diff --git a/.pylintrc b/.pylintrc index e0faac0..8f79755 100644 --- a/.pylintrc +++ b/.pylintrc @@ -5,7 +5,7 @@ load-plugins=pylint_django max-line-length=120 [MESSAGES CONTROL] -disable=missing-docstring,invalid-name +disable=missing-docstring,unnecessary-pass [DESIGN] max-parents=13 diff --git a/inventory/tests.py b/inventory/tests.py index 52c08d1..ad212ec 100644 --- a/inventory/tests.py +++ b/inventory/tests.py @@ -20,6 +20,6 @@ class InterFaceTestCase(TestCase): """Simple test case for the web interface""" def test_consume_view_exists(self): - c = Client() - response = c.get('/consume/') + client = Client() + response = client.get('/consume/') self.assertTrue("TODO" not in response)