diff options
Diffstat (limited to 'tests/settings.py')
| -rw-r--r-- | tests/settings.py | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/tests/settings.py b/tests/settings.py index 9ff9fb6..68346ff 100644 --- a/tests/settings.py +++ b/tests/settings.py @@ -1,6 +1,8 @@  """Django settings for tests."""  import os +import django +  BASE_DIR = os.path.dirname(os.path.dirname(__file__)) @@ -64,3 +66,6 @@ DEBUG_TOOLBAR_CONFIG = {      # Django's test client sets wsgi.multiprocess to True inappropriately      'RENDER_PANELS': False,  } + +if django.VERSION[:2] < (1, 6): +    TEST_RUNNER = 'discover_runner.DiscoverRunner' | 
