MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_first_connect_event

Method test_first_connect_event

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

Source from the content-addressed store, hash-verified

582 eq_(canary.mock_calls, [call(connection)])
583
584 def test_first_connect_event(self):
585 p, canary = self._first_connect_event_fixture()
586
587 p.connect()
588 eq_(canary, ["first_connect"])
589
590 def test_first_connect_event_fires_once(self):
591 p, canary = self._first_connect_event_fixture()

Callers

nothing calls this directly

Calls 3

eq_Function · 0.90
connectMethod · 0.45

Tested by

no test coverage detected