MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / test_drop_collection_checkfirst

Method test_drop_collection_checkfirst

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

Source from the content-addressed store, hash-verified

251 self._assert_create_tables([t2, t4], generator, m)
252
253 def test_drop_collection_checkfirst(self):
254 m, t1, t2, t3, t4, t5 = self._table_fixture()
255 generator = self._mock_drop_fixture(
256 True, [t2, t3, t4], item_exists=lambda t: t in ("t2", "t4")
257 )
258
259 self._assert_drop_tables([t2, t4], generator, m)
260
261 def test_create_collection_nocheck(self):
262 m, t1, t2, t3, t4, t5 = self._table_fixture()

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