summaryrefslogtreecommitdiff
path: root/tests/test_runner
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-12-22 11:35:17 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-12-22 11:39:55 +0100
commit2fef9e5375b0267734392080858d9fced15ee2f9 (patch)
tree6bb12e97dd1d607f57f36ae34c0b492dbcf443ba /tests/test_runner
parent99bd39ef6e1017f75c71fc276f43a941fe6081ea (diff)
Moved apps back in the toplevel django namespace.
Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2.
Diffstat (limited to 'tests/test_runner')
-rw-r--r--tests/test_runner/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_runner/tests.py b/tests/test_runner/tests.py
index 3c365b0225..5393ea75a2 100644
--- a/tests/test_runner/tests.py
+++ b/tests/test_runner/tests.py
@@ -224,7 +224,7 @@ class ModulesTestsPackages(IgnoreAllDeprecationWarningsMixin, unittest.TestCase)
def test_get_tests(self):
"Check that the get_tests helper function can find tests in a directory"
- from django.core.apps.base import AppConfig
+ from django.apps.base import AppConfig
from django.test.simple import get_tests
app_config = AppConfig.create('test_runner.valid_app')
app_config.import_models({})
@@ -233,7 +233,7 @@ class ModulesTestsPackages(IgnoreAllDeprecationWarningsMixin, unittest.TestCase)
def test_import_error(self):
"Test for #12658 - Tests with ImportError's shouldn't fail silently"
- from django.core.apps.base import AppConfig
+ from django.apps.base import AppConfig
from django.test.simple import get_tests
app_config = AppConfig.create('test_runner_invalid_app')
app_config.import_models({})