(self)
| 298 | await pool.close() |
| 299 | |
| 300 | async def test_pool_13(self): |
| 301 | pool = await self.create_pool(database='postgres', |
| 302 | min_size=1, max_size=1) |
| 303 | |
| 304 | async with pool.acquire() as con: |
| 305 | self.assertIn('Execute an SQL command', con.execute.__doc__) |
| 306 | self.assertEqual(con.execute.__name__, 'execute') |
| 307 | |
| 308 | self.assertIn( |
| 309 | str(inspect.signature(con.execute))[1:], |
| 310 | str(inspect.signature(pg_connection.Connection.execute))) |
| 311 | |
| 312 | await pool.close() |
| 313 | |
| 314 | def test_pool_init_run_until_complete(self): |
| 315 | pool_init = self.create_pool(database='postgres') |
nothing calls this directly
no test coverage detected