get tox test working with Django1.8.
This commit is contained in:
parent
8b144dddf0
commit
57e3ae902c
|
@ -148,7 +148,7 @@ try:
|
|||
TEST_RUNNER = 'django_coverage.coverage_runner.CoverageRunner'
|
||||
COVERAGE_REPORT_HTML_OUTPUT_DIR = os.path.join(PROJECT_PATH, '_coverage')
|
||||
except ImportError:
|
||||
TEST_RUNNER = 'django.test.simple.DjangoTestSuiteRunner'
|
||||
TEST_RUNNER = 'django.test.runner.DiscoverRunner'
|
||||
|
||||
|
||||
ADMIN_TOOLS_INDEX_DASHBOARD = 'test_proj.dashboard.CustomIndexDashboard'
|
||||
|
|
|
@ -3,7 +3,7 @@ import sys
|
|||
|
||||
class AdminBasicTest(TestCase):
|
||||
|
||||
fixtures = ['initial_data.json']
|
||||
fixtures = ['users.json']
|
||||
|
||||
def test_admin_loads(self):
|
||||
for (username, password) in (('superuser', '123'), ('staff', '123')):
|
||||
|
|
Loading…
Reference in New Issue