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

Method test_drop_seq_checkfirst

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

Source from the content-addressed store, hash-verified

136 self._assert_create([t1, s1], generator, m)
137
138 def test_drop_seq_checkfirst(self):
139 m, t1, t2, s1, s2 = self._table_seq_fixture()
140 generator = self._mock_drop_fixture(
141 True, [t1, t2], item_exists=lambda t: t in ("t1", "s1")
142 )
143
144 self._assert_drop([t1, s1], generator, m)
145
146 def test_create_table_index_checkfirst(self):
147 """create table that doesn't exist should not require a check

Callers

nothing calls this directly

Calls 3

_table_seq_fixtureMethod · 0.95
_mock_drop_fixtureMethod · 0.95
_assert_dropMethod · 0.95

Tested by

no test coverage detected