(pool)
| 546 | |
| 547 | async def test_pool_connection_methods(self): |
| 548 | async def test_fetch(pool): |
| 549 | i = random.randint(0, 20) |
| 550 | await asyncio.sleep(random.random() / 100) |
| 551 | r = await pool.fetch('SELECT {}::int'.format(i)) |
| 552 | self.assertEqual(r, [(i,)]) |
| 553 | return 1 |
| 554 | |
| 555 | async def test_fetchrow(pool): |
| 556 | i = random.randint(0, 20) |