(tdata, caplog_async)
| 192 | |
| 193 | |
| 194 | async def test_start_stop(tdata, caplog_async): |
| 195 | cp = ClientPlayback() |
| 196 | with taddons.context(cp): |
| 197 | cp.start_replay([tflow.tflow(live=False)]) |
| 198 | assert cp.count() == 1 |
| 199 | |
| 200 | ws_flow = tflow.twebsocketflow() |
| 201 | ws_flow.live = False |
| 202 | cp.start_replay([ws_flow]) |
| 203 | await caplog_async.await_log("Can't replay WebSocket flows.") |
| 204 | assert cp.count() == 1 |
| 205 | |
| 206 | cp.stop_replay() |
| 207 | assert cp.count() == 0 |
| 208 | |
| 209 | |
| 210 | def test_load(tdata): |
nothing calls this directly
no test coverage detected
searching dependent graphs…