(self)
| 316 | await pool.close() |
| 317 | |
| 318 | async def test_pool_13(self): |
| 319 | pool = await self.create_pool(database='postgres', |
| 320 | init_size=1, min_size=1, max_size=1) |
| 321 | |
| 322 | async with pool.acquire() as con: |
| 323 | self.assertIn('Execute an SQL command', con.execute.__doc__) |
| 324 | self.assertEqual(con.execute.__name__, 'execute') |
| 325 | |
| 326 | self.assertIn( |
| 327 | str(inspect.signature(con.execute))[1:], |
| 328 | str(inspect.signature(pg_connection.Connection.execute))) |
| 329 | |
| 330 | await pool.close() |
| 331 | |
| 332 | def test_pool_init_run_until_complete(self): |
| 333 | pool_init = self.create_pool(database='postgres') |
nothing calls this directly
no test coverage detected