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

Method test_create_empty_collection

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

Source from the content-addressed store, hash-verified

267 self._assert_create_tables([t2, t3, t4], generator, m)
268
269 def test_create_empty_collection(self):
270 m, t1, t2, t3, t4, t5 = self._table_fixture()
271 generator = self._mock_create_fixture(
272 True, [], item_exists=lambda t: t not in ("t2", "t4")
273 )
274
275 self._assert_create_tables([], generator, m)
276
277 def test_drop_empty_collection(self):
278 m, t1, t2, t3, t4, t5 = self._table_fixture()

Callers

nothing calls this directly

Calls 3

_table_fixtureMethod · 0.95
_mock_create_fixtureMethod · 0.95
_assert_create_tablesMethod · 0.95

Tested by

no test coverage detected