(self, async_connection)
| 539 | |
| 540 | @async_test |
| 541 | async def test_isolation_level(self, async_connection): |
| 542 | conn = async_connection |
| 543 | sync_isolation_level = await greenlet_spawn( |
| 544 | conn.sync_connection.get_isolation_level |
| 545 | ) |
| 546 | isolation_level = await conn.get_isolation_level() |
| 547 | |
| 548 | eq_(isolation_level, sync_isolation_level) |
| 549 | |
| 550 | await conn.execution_options(isolation_level="SERIALIZABLE") |
| 551 | isolation_level = await conn.get_isolation_level() |
| 552 | |
| 553 | eq_(isolation_level, "SERIALIZABLE") |
| 554 | |
| 555 | @testing.combinations( |
| 556 | ( |
nothing calls this directly
no test coverage detected