MCPcopy
hub / github.com/django/django / test_installed_apps

Method test_installed_apps

tests/test_utils/tests.py:2404–2408  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2402@isolate_apps("test_utils", attr_name="class_apps")
2403class IsolatedAppsTests(SimpleTestCase):
2404 def test_installed_apps(self):
2405 self.assertEqual(
2406 [app_config.label for app_config in self.class_apps.get_app_configs()],
2407 ["test_utils"],
2408 )
2409
2410 def test_class_decoration(self):
2411 class ClassDecoration(models.Model):

Callers

nothing calls this directly

Calls 1

get_app_configsMethod · 0.80

Tested by

no test coverage detected