summaryrefslogtreecommitdiff
path: root/tests/no_models/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/no_models/tests.py')
-rw-r--r--tests/no_models/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/no_models/tests.py b/tests/no_models/tests.py
index f9ff80485e..bd17364071 100644
--- a/tests/no_models/tests.py
+++ b/tests/no_models/tests.py
@@ -1,4 +1,4 @@
-from django.apps import app_cache
+from django.apps import apps
from django.test import TestCase
@@ -6,5 +6,5 @@ class NoModelTests(TestCase):
def test_no_models(self):
"""Test that it's possible to load an app with no models.py file."""
- app_config = app_cache.get_app_config('no_models')
+ app_config = apps.get_app_config('no_models')
self.assertIsNone(app_config.models_module)