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