Load an app that provides two AppConfig classes, one being the default.
(self)
| 139 | pass |
| 140 | |
| 141 | def test_two_configs_one_default_app(self): |
| 142 | """ |
| 143 | Load an app that provides two AppConfig classes, one being the default. |
| 144 | """ |
| 145 | with self.settings(INSTALLED_APPS=["apps.two_configs_one_default_app"]): |
| 146 | config = apps.get_app_config("two_configs_one_default_app") |
| 147 | self.assertIsInstance(config, TwoConfig) |
| 148 | |
| 149 | @override_settings(INSTALLED_APPS=SOME_INSTALLED_APPS) |
| 150 | def test_get_app_configs(self): |
nothing calls this directly
no test coverage detected