(self, connection)
| 461 | m.drop_all(connection, checkfirst=True) |
| 462 | |
| 463 | def test_checkfirst_table(self, connection): |
| 464 | m = MetaData() |
| 465 | s = normalize_sequence(config, Sequence("my_sequence")) |
| 466 | t = Table("t", m, Column("c", Integer, s, primary_key=True)) |
| 467 | t.create(connection, checkfirst=False) |
| 468 | assert self._has_sequence(connection, "my_sequence") |
| 469 | t.create(connection, checkfirst=True) |
| 470 | t.drop(connection, checkfirst=False) |
| 471 | assert not self._has_sequence(connection, "my_sequence") |
| 472 | t.drop(connection, checkfirst=True) |
| 473 | |
| 474 | @testing.provide_metadata |
| 475 | def test_table_overrides_metadata_create(self, connection): |
nothing calls this directly
no test coverage detected