MCPcopy Index your code
hub / github.com/sqlalchemy/sqlalchemy / _fixture

Method _fixture

test/engine/test_pool.py:2048–2053  ·  view source on GitHub ↗
(self, **kw)

Source from the content-addressed store, hash-verified

2046
2047class ResetOnReturnTest(PoolTestBase):
2048 def _fixture(self, **kw):
2049 dbapi = Mock()
2050 return (
2051 dbapi,
2052 pool.QueuePool(creator=lambda: dbapi.connect("foo.db"), **kw),
2053 )
2054
2055 def _engine_fixture(self, **kw):
2056 dbapi = Mock()

Callers 4

test_customMethod · 0.95
test_plain_rollbackMethod · 0.95
test_plain_commitMethod · 0.95
test_plain_noneMethod · 0.95

Calls 1

connectMethod · 0.45

Tested by

no test coverage detected