mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Moved the new app cache inside core.
This commit is contained in:
@@ -225,7 +225,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.apps.base import AppConfig
|
||||
from django.core.apps.base import AppConfig
|
||||
from django.test.simple import get_tests
|
||||
app_config = AppConfig(
|
||||
'test_runner.valid_app',
|
||||
@@ -236,7 +236,7 @@ class ModulesTestsPackages(IgnoreAllDeprecationWarningsMixin, unittest.TestCase)
|
||||
|
||||
def test_import_error(self):
|
||||
"Test for #12658 - Tests with ImportError's shouldn't fail silently"
|
||||
from django.apps.base import AppConfig
|
||||
from django.core.apps.base import AppConfig
|
||||
from django.test.simple import get_tests
|
||||
app_config = AppConfig(
|
||||
'test_runner_invalid_app',
|
||||
|
||||
Reference in New Issue
Block a user