(self)
| 558 | eq_(canary.mock_calls, [call(connection, rec)]) |
| 559 | |
| 560 | def test_detach(self): |
| 561 | p, canary = self._detach_event_fixture() |
| 562 | |
| 563 | c1 = p.connect() |
| 564 | |
| 565 | connection = c1.dbapi_connection |
| 566 | rec = c1._connection_record |
| 567 | |
| 568 | c1.detach() |
| 569 | |
| 570 | eq_(canary.mock_calls, [call(connection, rec)]) |
| 571 | |
| 572 | def test_detach_close(self): |
| 573 | p, canary = self._close_detached_event_fixture() |
nothing calls this directly
no test coverage detected