(self)
| 335 | eq_(pool_cls._is_asyncio, is_async) |
| 336 | |
| 337 | def test_rec_fairy_default_dialect(self): |
| 338 | dbapi = MockDBAPI() |
| 339 | p1 = pool.Pool(creator=lambda: dbapi.connect("foo.db")) |
| 340 | |
| 341 | rec = pool._ConnectionRecord(p1) |
| 342 | |
| 343 | is_not_none(rec.dbapi_connection) |
| 344 | |
| 345 | is_(rec.driver_connection, rec.dbapi_connection) |
| 346 | |
| 347 | fairy = pool._ConnectionFairy(p1, rec.dbapi_connection, rec, False) |
| 348 | |
| 349 | is_not_none(fairy.dbapi_connection) |
| 350 | is_(fairy.driver_connection, fairy.dbapi_connection) |
| 351 | |
| 352 | is_(fairy.dbapi_connection, rec.dbapi_connection) |
| 353 | is_(fairy.driver_connection, rec.driver_connection) |
| 354 | |
| 355 | def test_rec_fairy_adapted_dialect(self): |
| 356 | dbapi = MockDBAPI() |
nothing calls this directly
no test coverage detected