MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_drop_index_nocheck_exists

Method test_drop_index_nocheck_exists

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

Source from the content-addressed store, hash-verified

271
272 @_false_index
273 def test_drop_index_nocheck_exists(self, checkfirst):
274 m, t1, i1 = self._table_index_fixture()
275 generator = self._mock_drop_fixture(
276 checkfirst, [i1], item_exists=lambda idx: True
277 )
278 self._assert_drop_index([i1], generator, i1, checkfirst)
279
280 @_false_index
281 def test_drop_index_nocheck_doesnt_exist(self, checkfirst):

Callers

nothing calls this directly

Calls 3

_table_index_fixtureMethod · 0.95
_mock_drop_fixtureMethod · 0.95
_assert_drop_indexMethod · 0.95

Tested by

no test coverage detected