Load an app that provides two AppConfig classes.
(self)
| 123 | self.assertIsInstance(config, OneConfig) |
| 124 | |
| 125 | def test_two_configs_app(self): |
| 126 | """Load an app that provides two AppConfig classes.""" |
| 127 | with self.settings(INSTALLED_APPS=["apps.two_configs_app"]): |
| 128 | config = apps.get_app_config("two_configs_app") |
| 129 | self.assertIsInstance(config, AppConfig) |
| 130 | |
| 131 | def test_two_default_configs_app(self): |
| 132 | """Load an app that provides two default AppConfig classes.""" |
nothing calls this directly
no test coverage detected