(self)
| 1957 | eq_(c2_con.close.call_count, 0) |
| 1958 | |
| 1959 | def test_no_double_checkin(self): |
| 1960 | p = self._queuepool_fixture(pool_size=1) |
| 1961 | |
| 1962 | c1 = p.connect() |
| 1963 | rec = c1._connection_record |
| 1964 | c1.close() |
| 1965 | assert_warns_message( |
| 1966 | Warning, "Double checkin attempted on %s" % rec, rec.checkin |
| 1967 | ) |
| 1968 | |
| 1969 | def test_lifo(self): |
| 1970 | c1, c2, c3 = Mock(), Mock(), Mock() |
nothing calls this directly
no test coverage detected