Skip to content

Commit

Permalink
Import test case classes from their public API module.
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiro authored and andrewgodwin committed Aug 21, 2013
1 parent 0122384 commit c5fbd16
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion django/contrib/messages/tests/test_mixins.py
Original file line number Original file line Diff line number Diff line change
@@ -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.contrib.messages.tests.urls import ContactFormViewWithMsg
from django.core.urlresolvers import reverse from django.core.urlresolvers import reverse


Expand Down
2 changes: 1 addition & 1 deletion tests/deprecation/tests.py
Original file line number Original file line Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import unicode_literals from __future__ import unicode_literals
import warnings import warnings


from django.test.testcases import SimpleTestCase from django.test import SimpleTestCase
from django.utils import six from django.utils import six
from django.utils.deprecation import RenameMethodsBase from django.utils.deprecation import RenameMethodsBase


Expand Down
2 changes: 1 addition & 1 deletion tests/runtests.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def get_installed():
def setup(verbosity, test_labels): def setup(verbosity, test_labels):
from django.conf import settings from django.conf import settings
from django.db.models.loading import get_apps, load_app 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. # Force declaring available_apps in TransactionTestCase for faster tests.
def no_available_apps(self): def no_available_apps(self):
Expand Down

0 comments on commit c5fbd16

Please sign in to comment.