(self)
| 572 | eq_(canary.mock_calls, [call(connection, rec)]) |
| 573 | |
| 574 | def test_detach_close(self): |
| 575 | p, canary = self._close_detached_event_fixture() |
| 576 | |
| 577 | c1 = p.connect() |
| 578 | |
| 579 | connection = c1.dbapi_connection |
| 580 | |
| 581 | c1.detach() |
| 582 | |
| 583 | c1.close() |
| 584 | eq_(canary.mock_calls, [call(connection)]) |
| 585 | |
| 586 | def test_first_connect_event(self): |
| 587 | p, canary = self._first_connect_event_fixture() |
nothing calls this directly
no test coverage detected