summaryrefslogtreecommitdiffstats
path: root/patchwork/settings/base.py
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2015-05-28 13:44:14 +0800
committerJeremy Kerr <jk@ozlabs.org>2015-05-28 13:59:36 +0800
commit85916e6c56076a29c6113e169d3e4926a7c886b1 (patch)
tree6e457d6f6a7889d50eda9e6fd04d370671a03d60 /patchwork/settings/base.py
parentf7aeab077874d33fc99354661bfeedf508c292b3 (diff)
downloadpatchwork-85916e6c56076a29c6113e169d3e4926a7c886b1.tar.bz2
patchwork-85916e6c56076a29c6113e169d3e4926a7c886b1.tar.xz
tests: Remove old-style test runner module
We get the following warning on django 1.7: System check identified some issues: WARNINGS: ?: (1_6.W001) Some project unittests may not execute as expected. HINT: Django 1.6 introduced a new default test runner. It looks like this project was generated using Django 1.5 or earlier. You should ensure your tests are all running & behaving as expected. See https://docs.djangoproject.com/en/dev/releases/1.6/#new-test-runner for more information. This change removes the unneeded base test module, and moves the patchparser doctests into a proper test module. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'patchwork/settings/base.py')
-rw-r--r--patchwork/settings/base.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/patchwork/settings/base.py b/patchwork/settings/base.py
index 9b52989..5b40bcb 100644
--- a/patchwork/settings/base.py
+++ b/patchwork/settings/base.py
@@ -113,3 +113,5 @@ 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'