aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Lenc <mattl@incuna.com>2014-06-18 12:33:06 +0100
committerMatt Lenc <mattl@incuna.com>2014-06-18 12:33:06 +0100
commit8ff65e95d59ea46d05b8b44d2551f1085a4834f7 (patch)
tree5372d92a834c195696f1e176809f79faf76439a8
parent58d345459fab83081800cf751fef0abc5372b38c (diff)
downloaddjango-wkhtmltopdf-8ff65e95d59ea46d05b8b44d2551f1085a4834f7.tar.gz
django-wkhtmltopdf-8ff65e95d59ea46d05b8b44d2551f1085a4834f7.tar.bz2
django-wkhtmltopdf-8ff65e95d59ea46d05b8b44d2551f1085a4834f7.zip
colour-runner dependency doesn't work on py2.6
DAMN IT
-rw-r--r--test_requirements.txt1
-rw-r--r--wkhtmltopdf/tests/run.py7
2 files changed, 1 insertions, 7 deletions
diff --git a/test_requirements.txt b/test_requirements.txt
index ba357b3..0d4fee0 100644
--- a/test_requirements.txt
+++ b/test_requirements.txt
@@ -1,2 +1 @@
-colour-runner==0.0.4
django-discover-runner==1.0
diff --git a/wkhtmltopdf/tests/run.py b/wkhtmltopdf/tests/run.py
index 239f5dc..a840e68 100644
--- a/wkhtmltopdf/tests/run.py
+++ b/wkhtmltopdf/tests/run.py
@@ -2,7 +2,6 @@
import os
import sys
-from colour_runner.django_runner import ColourRunnerMixin
from django.conf import settings
DIRNAME = os.path.abspath(os.path.dirname(__file__))
@@ -33,11 +32,7 @@ except ImportError:
from discover_runner.runner import DiscoverRunner
-class TestRunner(ColourRunnerMixin, DiscoverRunner):
- pass
-
-
-test_runner = TestRunner(verbosity=1)
+test_runner = DiscoverRunner(verbosity=1)
failures = test_runner.run_tests(['wkhtmltopdf'])
if failures:
sys.exit(1)