summaryrefslogtreecommitdiff
path: root/tests/bash_completion
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-12-24 12:25:17 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-12-24 12:25:17 +0100
commit1716b7ce5a02b2a77188dfea2d41e25dfa58821c (patch)
treef3422c0d6725f45756a3b9deb32406d319b8a72e /tests/bash_completion
parente9e522a8e7455900a775678e5d6bc518a289b8d1 (diff)
Renamed AppCache to Apps.
Also renamed app_cache to apps and "app cache" to "app registry". Deprecated AppCache.app_cache_ready() in favor of Apps.ready().
Diffstat (limited to 'tests/bash_completion')
-rw-r--r--tests/bash_completion/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bash_completion/tests.py b/tests/bash_completion/tests.py
index 5a6a6c48d2..8653af3c85 100644
--- a/tests/bash_completion/tests.py
+++ b/tests/bash_completion/tests.py
@@ -5,7 +5,7 @@ import os
import sys
import unittest
-from django.apps import app_cache
+from django.apps import apps
from django.core.management import ManagementUtility
from django.utils.six import StringIO
@@ -85,6 +85,6 @@ class BashCompletionTests(unittest.TestCase):
self._user_input('django-admin.py sqlall a')
output = self._run_autocomplete()
a_labels = sorted(app_config.label
- for app_config in app_cache.get_app_configs()
+ for app_config in apps.get_app_configs()
if app_config.label.startswith('a'))
self.assertEqual(output, a_labels)