summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/apps/tests.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/apps/tests.py b/tests/apps/tests.py
index f7de95ebe3..4e988493fc 100644
--- a/tests/apps/tests.py
+++ b/tests/apps/tests.py
@@ -50,8 +50,10 @@ class AppsTests(TestCase):
Tests the ready property of a registry other than the master.
"""
apps = Apps()
- # Currently, non-master app registries are artificially considered
- # ready regardless of whether populate_models() has run.
+ self.assertFalse(apps.ready)
+ apps.populate_apps([])
+ self.assertFalse(apps.ready)
+ apps.populate_models()
self.assertTrue(apps.ready)
def test_bad_app_config(self):