(pool)
| 607 | |
| 608 | async def test_pool_connection_methods(self): |
| 609 | async def test_fetch(pool): |
| 610 | i = random.randint(0, 20) |
| 611 | await asyncio.sleep(random.random() / 100) |
| 612 | r = await pool.fetch('SELECT {}::int'.format(i)) |
| 613 | self.assertEqual(r, [(i,)]) |
| 614 | return 1 |
| 615 | |
| 616 | async def test_fetchrow(pool): |
| 617 | i = random.randint(0, 20) |