MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_drop_collection_checkfirst

Method test_drop_collection_checkfirst

test/sql/test_ddlemit.py:303–309  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

301 self._assert_create_tables([t2, t4], generator, m, checkfirst)
302
303 def test_drop_collection_checkfirst(self):
304 m, t1, t2, t3, t4, t5 = self._table_fixture()
305 generator = self._mock_drop_fixture(
306 True, [t2, t3, t4], item_exists=lambda t: t in ("t2", "t4")
307 )
308
309 self._assert_drop_tables([t2, t4], generator, m, True)
310
311 _false_table = testing.combinations(
312 False,

Callers

nothing calls this directly

Calls 3

_table_fixtureMethod · 0.95
_mock_drop_fixtureMethod · 0.95
_assert_drop_tablesMethod · 0.95

Tested by

no test coverage detected