(conn, trace)
| 92 | |
| 93 | |
| 94 | def test_pipeline_exit_sync_trace(conn, trace): |
| 95 | t = trace.trace(conn) |
| 96 | with conn.pipeline(): |
| 97 | pass |
| 98 | conn.close() |
| 99 | assert len([i for i in t if i.type == "Sync"]) == 1 |
| 100 | |
| 101 | |
| 102 | def test_pipeline_nested_sync_trace(conn, trace): |