(self)
| 1093 | await pool.close() |
| 1094 | |
| 1095 | async def test_standby_cursors(self): |
| 1096 | con = await self.standby_cluster.connect( |
| 1097 | database='postgres', user='postgres', loop=self.loop) |
| 1098 | |
| 1099 | try: |
| 1100 | async with con.transaction(): |
| 1101 | cursor = await con.cursor('SELECT 1') |
| 1102 | self.assertEqual(await cursor.fetchrow(), (1,)) |
| 1103 | finally: |
| 1104 | await con.close() |
nothing calls this directly
no test coverage detected