diff options
| author | Ramiro Morales <cramm0@gmail.com> | 2013-08-20 14:59:23 -0300 |
|---|---|---|
| committer | Andrew Godwin <andrew@aeracode.org> | 2013-08-21 22:32:04 +0100 |
| commit | c5fbd1636203e697c214dcad54e4f3db1d7c9685 (patch) | |
| tree | 4c88ca8d9feff2adb2387eaa5a5e5fe726de9d6e | |
| parent | 01223840f34ff2eacf1425bc133c347564fe2614 (diff) | |
Import test case classes from their public API module.
| -rw-r--r-- | django/contrib/messages/tests/test_mixins.py | 2 | ||||
| -rw-r--r-- | tests/deprecation/tests.py | 2 | ||||
| -rwxr-xr-x | tests/runtests.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/django/contrib/messages/tests/test_mixins.py b/django/contrib/messages/tests/test_mixins.py index 8eef4cb3dc..a24d580bd8 100644 --- a/django/contrib/messages/tests/test_mixins.py +++ b/django/contrib/messages/tests/test_mixins.py @@ -1,4 +1,4 @@ -from django.test.testcases import TestCase +from django.test import TestCase from django.contrib.messages.tests.urls import ContactFormViewWithMsg from django.core.urlresolvers import reverse diff --git a/tests/deprecation/tests.py b/tests/deprecation/tests.py index fda780c7e6..719bd635db 100644 --- a/tests/deprecation/tests.py +++ b/tests/deprecation/tests.py @@ -1,7 +1,7 @@ from __future__ import unicode_literals import warnings -from django.test.testcases import SimpleTestCase +from django.test import SimpleTestCase from django.utils import six from django.utils.deprecation import RenameMethodsBase diff --git a/tests/runtests.py b/tests/runtests.py index adfc77b13b..5053b4f54c 100755 --- a/tests/runtests.py +++ b/tests/runtests.py @@ -97,7 +97,7 @@ def get_installed(): def setup(verbosity, test_labels): from django.conf import settings from django.db.models.loading import get_apps, load_app - from django.test.testcases import TransactionTestCase, TestCase + from django.test import TransactionTestCase, TestCase # Force declaring available_apps in TransactionTestCase for faster tests. def no_available_apps(self): |
