diff options
-rw-r--r-- | ishtar_common/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/tests.py b/ishtar_common/tests.py index a91a0ba58..133bd5a9b 100644 --- a/ishtar_common/tests.py +++ b/ishtar_common/tests.py @@ -34,7 +34,7 @@ from django.db import connection, transaction from django.template.defaultfilters import slugify from django.test import TestCase as BaseTestCase from django.test.client import Client -from django.test.simple import DjangoTestSuiteRunner +from django.test.runner import DiscoverRunner from ishtar_common import models from ishtar_common import forms_common @@ -149,7 +149,7 @@ class WizardTestFormData(object): test(test_object, final_step_response) -class ManagedModelTestRunner(DjangoTestSuiteRunner): +class ManagedModelTestRunner(DiscoverRunner): """ Test runner that automatically makes all unmanaged models in your Django project managed for the duration of the test run, so that one doesn't need |