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

Method _mock_drop_fixture

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

Source from the content-addressed store, hash-verified

46 )
47
48 def _mock_drop_fixture(
49 self, checkfirst, tables, item_exists=lambda item: True
50 ):
51 connection = self._mock_connection(item_exists)
52
53 return SchemaDropper(
54 connection.dialect,
55 connection,
56 checkfirst=checkfirst,
57 tables=tables,
58 )
59
60 def _table_fixture(self):
61 m = MetaData()

Calls 2

_mock_connectionMethod · 0.95
SchemaDropperClass · 0.90

Tested by

no test coverage detected