mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-09 22:38:19 +02:00
Dropping support for Django 1.5 and 1.6; adding support for Django 1.8.
This commit is contained in:
parent
87828b0154
commit
2ebc4b414a
2 changed files with 8 additions and 6 deletions
|
|
@ -23,7 +23,10 @@ if not settings.configured:
|
|||
]
|
||||
)
|
||||
|
||||
from django.test.simple import DjangoTestSuiteRunner
|
||||
try:
|
||||
from django.test.runner import DiscoverRunner as TestRunner
|
||||
except ImportError:
|
||||
from django.test.simple import DjangoTestSuiteRunner as TestRunner
|
||||
|
||||
|
||||
def runtests(*test_args):
|
||||
|
|
@ -37,7 +40,7 @@ def runtests(*test_args):
|
|||
except NameError:
|
||||
# This version of Django is too old for an app registry.
|
||||
pass
|
||||
runner = DjangoTestSuiteRunner(
|
||||
runner = TestRunner(
|
||||
verbosity=1,
|
||||
interactive=False,
|
||||
failfast=False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue