]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
trivial: Resolve PEP8 issue
authorStephen Finucane <stephen@that.guru>
Tue, 4 Apr 2017 11:16:55 +0000 (12:16 +0100)
committerStephen Finucane <stephen@that.guru>
Tue, 4 Apr 2017 11:17:58 +0000 (12:17 +0100)
There's an unused variable.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes: 9b81f1ae ("REST: Add '/bundle' endpoint")
patchwork/tests/test_rest_api.py

index 3a84f0f8222ba501f6adfe387abc2f94b705e3b8..867602a878615c39afd6117773dddb2c99e9b4bf 100644 (file)
@@ -722,7 +722,6 @@ class TestBundleAPI(APITestCase):
 
     def test_detail(self):
         """Validate we can get a specific bundle."""
-        user = create_user()
         bundle = create_bundle(public=True)
 
         resp = self.client.get(self.api_url(bundle.id))