MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_reset_event

Method test_reset_event

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

Source from the content-addressed store, hash-verified

697 eq_(canary, ["reset_rollback_ok", "checkin"])
698
699 def test_reset_event(self):
700 p, canary = self._reset_event_fixture()
701
702 c1 = p.connect()
703 eq_(canary, [])
704 c1.close()
705 eq_(canary, ["reset"])
706
707 def test_soft_invalidate_event_no_exception(self):
708 p, canary = self._soft_invalidate_event_fixture()

Callers

nothing calls this directly

Calls 4

_reset_event_fixtureMethod · 0.95
eq_Function · 0.90
connectMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected