MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_drop_seq_checkfirst

Method test_drop_seq_checkfirst

test/sql/test_ddlemit.py:168–174  ·  view source on GitHub ↗
(self, checkfirst)

Source from the content-addressed store, hash-verified

166
167 @_true_seq
168 def test_drop_seq_checkfirst(self, checkfirst):
169 m, t1, t2, s1, s2 = self._table_seq_fixture()
170 generator = self._mock_drop_fixture(
171 checkfirst, [t1, t2], item_exists=lambda t: t in ("t1", "s1")
172 )
173
174 self._assert_drop([t1, s1], generator, m)
175
176 def test_create_table_index_checkfirst(self):
177 """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