(self)
| 437 | |
| 438 | class PoolEventsTest(PoolTestBase): |
| 439 | def _first_connect_event_fixture(self): |
| 440 | p = self._queuepool_fixture() |
| 441 | canary = [] |
| 442 | |
| 443 | def first_connect(*arg, **kw): |
| 444 | canary.append("first_connect") |
| 445 | |
| 446 | event.listen(p, "first_connect", first_connect) |
| 447 | |
| 448 | return p, canary |
| 449 | |
| 450 | def _connect_event_fixture(self): |
| 451 | p = self._queuepool_fixture() |
no test coverage detected