Method
evt
test/engine/test_execute.py:4113–4117
· test/engine/test_execute.py::DialectEventTest.evt
(dialect, conn_rec, cargs, cparams)
Source from the content-addressed store, hash-verified
| 4111 | |
| 4112 | @event.listens_for(e, class="st">"do_connect") |
| 4113 | def evt(dialect, conn_rec, cargs, cparams): |
| 4114 | cargs[:] = [class="st">"foo", class="st">"hoho"] |
| 4115 | cparams.clear() |
| 4116 | cparams[class="st">"bar"] = class="st">"bat" |
| 4117 | conn_rec.info[class="st">"boom"] = class="st">"bap" |
| 4118 | |
| 4119 | m1 = Mock() |
| 4120 | e.dialect.connect = m1.real_connect |
Callers
nothing calls this directly
Tested by
no test coverage detected