Tests apps.get_app_configs().
(self)
| 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): |
nothing calls this directly
no test coverage detected