File tree Expand file tree Collapse file tree 4 files changed +7
-14
lines changed Expand file tree Collapse file tree 4 files changed +7
-14
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ coverage
1313flake8
1414selenium
1515tox
16+ django-discover-runner
1617
1718# Documentation
1819
Original file line number Diff line number Diff line change 11"""Django settings for tests."""
22
33import os
4+ import django
5+
46BASE_DIR = os .path .dirname (os .path .dirname (__file__ ))
57
68
6466 # Django's test client sets wsgi.multiprocess to True inappropriately
6567 'RENDER_PANELS' : False ,
6668}
69+
70+ if django .VERSION [:2 ] < (1 , 6 ):
71+ TEST_RUNNER = 'discover_runner.DiscoverRunner'
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ commands = make test
1717deps =
1818 selenium
1919 sqlparse
20+ django-discover-runner
2021setenv =
2122 PYTHONPATH = {toxinidir}
2223whitelist_externals = make
You can’t perform that action at this time.
0 commit comments