(self)
| 448 | return p, canary |
| 449 | |
| 450 | def _connect_event_fixture(self): |
| 451 | p = self._queuepool_fixture() |
| 452 | canary = [] |
| 453 | |
| 454 | def connect(*arg, **kw): |
| 455 | canary.append("connect") |
| 456 | |
| 457 | event.listen(p, "connect", connect) |
| 458 | |
| 459 | return p, canary |
| 460 | |
| 461 | def _checkout_event_fixture(self): |
| 462 | p = self._queuepool_fixture() |
no test coverage detected