MCPcopy Create free account
hub / github.com/zzzeek/sqlalchemy / _soft_invalidate_event_fixture

Method _soft_invalidate_event_fixture

test/engine/test_pool.py:517–522  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

515 return p, canary
516
517 def _soft_invalidate_event_fixture(self):
518 p = self._queuepool_fixture()
519 canary = Mock()
520 event.listen(p, "soft_invalidate", canary)
521
522 return p, canary
523
524 def _close_event_fixture(self):
525 p = self._queuepool_fixture()

Calls 2

_queuepool_fixtureMethod · 0.80
listenMethod · 0.45

Tested by

no test coverage detected