From: Stephen Finucane Date: Sun, 21 Aug 2016 16:27:28 +0000 (+0100) Subject: trivial: Resolve PEP8 isues X-Git-Tag: v2.0.0-rc1~281 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=591595bfccd4476fface1dd3c301105b95aac4d4;p=thirdparty%2Fpatchwork.git trivial: Resolve PEP8 isues These were introduced with recent commits. Signed-off-by: Stephen Finucane --- diff --git a/patchwork/settings/dev.py b/patchwork/settings/dev.py index 1ba46f48..b78a0bfe 100644 --- a/patchwork/settings/dev.py +++ b/patchwork/settings/dev.py @@ -89,5 +89,5 @@ if django.VERSION >= (1, 7): ENABLE_XMLRPC = True -if django.VERSION >= (1,7): +if django.VERSION >= (1, 7): ENABLE_REST_API = True diff --git a/patchwork/tests/test_rest_api.py b/patchwork/tests/test_rest_api.py index 0d8cc3fe..fce83fbe 100644 --- a/patchwork/tests/test_rest_api.py +++ b/patchwork/tests/test_rest_api.py @@ -41,6 +41,7 @@ else: from django.test import TestCase APITestCase = TestCase + @unittest.skipUnless(settings.ENABLE_REST_API, 'requires ENABLE_REST_API') class TestProjectAPI(APITestCase):