(pool)
| 628 | return 1 |
| 629 | |
| 630 | async def test_execute(pool): |
| 631 | await asyncio.sleep(random.random() / 100) |
| 632 | r = await pool.execute('SELECT generate_series(0, 10)') |
| 633 | self.assertEqual(r, 'SELECT {}'.format(11)) |
| 634 | return 1 |
| 635 | |
| 636 | async def test_execute_with_arg(pool): |
| 637 | i = random.randint(0, 20) |