MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_create_seq_checkfirst

Method test_create_seq_checkfirst

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

Source from the content-addressed store, hash-verified

157
158 @_true_seq
159 def test_create_seq_checkfirst(self, checkfirst):
160 m, t1, t2, s1, s2 = self._table_seq_fixture()
161 generator = self._mock_create_fixture(
162 checkfirst, [t1, t2], item_exists=lambda t: t not in ("t1", "s1")
163 )
164
165 self._assert_create([t1, s1], generator, m)
166
167 @_true_seq
168 def test_drop_seq_checkfirst(self, checkfirst):

Callers

nothing calls this directly

Calls 3

_table_seq_fixtureMethod · 0.95
_mock_create_fixtureMethod · 0.95
_assert_createMethod · 0.95

Tested by

no test coverage detected