(pool)
| 567 | return 1 |
| 568 | |
| 569 | async def test_execute(pool): |
| 570 | await asyncio.sleep(random.random() / 100) |
| 571 | r = await pool.execute('SELECT generate_series(0, 10)') |
| 572 | self.assertEqual(r, 'SELECT {}'.format(11)) |
| 573 | return 1 |
| 574 | |
| 575 | async def test_execute_with_arg(pool): |
| 576 | i = random.randint(0, 20) |