diff options
| author | Andrew Godwin <andrew@aeracode.org> | 2013-05-18 10:21:31 +0200 |
|---|---|---|
| committer | Andrew Godwin <andrew@aeracode.org> | 2013-05-18 10:21:31 +0200 |
| commit | b31eea069cf9bc801c82a975307a9173527d78f2 (patch) | |
| tree | d3fb5b6e5ae4e6d4293786b94a193ed4f9fc4959 /tests/admin_scripts/tests.py | |
| parent | 76d93a52cd56be23104f824e6755ecc8d3a34d94 (diff) | |
| parent | f54a8880d78f4b0b37371b0b295b2b1e73c8b67f (diff) | |
Merge branch 'master' into schema-alteration
Diffstat (limited to 'tests/admin_scripts/tests.py')
| -rw-r--r-- | tests/admin_scripts/tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/admin_scripts/tests.py b/tests/admin_scripts/tests.py index 5071977b2d..c8986770f3 100644 --- a/tests/admin_scripts/tests.py +++ b/tests/admin_scripts/tests.py @@ -19,9 +19,9 @@ from django import conf, get_version from django.conf import settings from django.core.management import BaseCommand, CommandError from django.db import connection -from django.test.simple import DjangoTestSuiteRunner +from django.test.runner import DiscoverRunner from django.utils import unittest -from django.utils.encoding import force_str, force_text +from django.utils.encoding import force_text from django.utils._os import upath from django.utils.six import StringIO from django.test import LiveServerTestCase @@ -1090,7 +1090,7 @@ class ManageValidate(AdminScriptTestCase): self.assertOutput(out, '0 errors found') -class CustomTestRunner(DjangoTestSuiteRunner): +class CustomTestRunner(DiscoverRunner): def __init__(self, *args, **kwargs): assert 'liveserver' not in kwargs |
