[PATCH v2 16/16] settings: Move 'TEST_RUNNER' to correct location

Stephen Finucane stephen.finucane at intel.com
Sat Aug 22 00:32:20 AEST 2015


Try to keep the order/structure of this file intact for as
long as possible.

Signed-off-by: Stephen Finucane <stephen.finucane at intel.com>
---
 patchwork/settings/base.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/patchwork/settings/base.py b/patchwork/settings/base.py
index 5b40bcb..d00245d 100644
--- a/patchwork/settings/base.py
+++ b/patchwork/settings/base.py
@@ -50,6 +50,10 @@ LANGUAGE_CODE = 'en-au'
 
 USE_I18N = True
 
+# Testing
+
+TEST_RUNNER = 'django.test.runner.DiscoverRunner'
+
 # URLs
 
 ROOT_URLCONF = 'patchwork.urls'
@@ -113,5 +117,3 @@ COMPAT_REDIR = True
 # the scheme based on current access. This is useful if SSL protocol
 # is terminated upstream of the server (e.g. at the load balancer)
 FORCE_HTTPS_LINKS = False
-
-TEST_RUNNER = 'django.test.runner.DiscoverRunner'
-- 
2.0.0



More information about the Patchwork mailing list