MCPcopy
hub / github.com/django/django / test_get_app_configs

Method test_get_app_configs

tests/apps/tests.py:150–157  ·  view source on GitHub ↗

Tests apps.get_app_configs().

(self)

Source from the content-addressed store, hash-verified

148
149 @override_settings(INSTALLED_APPS=SOME_INSTALLED_APPS)
150 def test_get_app_configs(self):
151 """
152 Tests apps.get_app_configs().
153 """
154 app_configs = apps.get_app_configs()
155 self.assertEqual(
156 [app_config.name for app_config in app_configs], SOME_INSTALLED_APPS_NAMES
157 )
158
159 @override_settings(INSTALLED_APPS=SOME_INSTALLED_APPS)
160 def test_get_app_config(self):

Callers

nothing calls this directly

Calls 1

get_app_configsMethod · 0.80

Tested by

no test coverage detected