Skip to content
Browse files

Import test case classes from their public API module.

  • Loading branch information...
1 parent f9d1d5d commit deebb1a97767b69249a107848661456bf452d1f1 @ramiro ramiro committed
Showing with 3 additions and 3 deletions.
  1. +1 −1 django/contrib/messages/tests/test_mixins.py
  2. +1 −1 tests/deprecation/tests.py
  3. +1 −1 tests/runtests.py
View
2 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
View
2 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
View
2 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):

0 comments on commit deebb1a

Please sign in to comment.
Something went wrong with that request. Please try again.