From 591595bfccd4476fface1dd3c301105b95aac4d4 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Sun, 21 Aug 2016 17:27:28 +0100 Subject: [PATCH] trivial: Resolve PEP8 isues These were introduced with recent commits. Signed-off-by: Stephen Finucane --- patchwork/settings/dev.py | 2 +- patchwork/tests/test_rest_api.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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): -- 2.47.3