MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _mock_drop_fixture

Method _mock_drop_fixture

test/sql/test_ddlemit.py:55–65  ·  view source on GitHub ↗
(
        self, checkfirst, tables, item_exists=lambda item: True
    )

Source from the content-addressed store, hash-verified

53 )
54
55 def _mock_drop_fixture(
56 self, checkfirst, tables, item_exists=lambda item: True
57 ):
58 connection = self._mock_connection(item_exists)
59
60 return SchemaDropper(
61 connection.dialect,
62 connection,
63 checkfirst=checkfirst,
64 tables=tables,
65 )
66
67 def _table_fixture(self):
68 m = MetaData()

Calls 2

_mock_connectionMethod · 0.95
SchemaDropperClass · 0.90

Tested by

no test coverage detected