(self)
| 1298 | self.assertIn(expected_run_before_str, output) |
| 1299 | |
| 1300 | def test_atomic_is_false(self): |
| 1301 | migration = type( |
| 1302 | "Migration", |
| 1303 | (migrations.Migration,), |
| 1304 | {"operations": [], "atomic": False}, |
| 1305 | ) |
| 1306 | writer = MigrationWriter(migration) |
| 1307 | output = writer.as_string() |
| 1308 | self.assertIn(" atomic = False\n", output) |
| 1309 | |
| 1310 | def test_default_attributes(self): |
| 1311 | migration = type("Migration", (migrations.Migration,), {}) |
nothing calls this directly
no test coverage detected