(self)
| 226 | MigrationLoader(connection) |
| 227 | |
| 228 | def test_load_module_file(self): |
| 229 | with override_settings( |
| 230 | MIGRATION_MODULES={"migrations": "migrations.faulty_migrations.file"} |
| 231 | ): |
| 232 | loader = MigrationLoader(connection) |
| 233 | self.assertIn( |
| 234 | "migrations", |
| 235 | loader.unmigrated_apps, |
| 236 | "App with migrations module file not in unmigrated apps.", |
| 237 | ) |
| 238 | |
| 239 | def test_load_empty_dir(self): |
| 240 | with override_settings( |
nothing calls this directly
no test coverage detected