()
| 40 | |
| 41 | |
| 42 | def test_server_playback(): |
| 43 | sp = serverplayback.ServerPlayback() |
| 44 | with taddons.context(sp) as tctx: |
| 45 | tctx.configure(sp) |
| 46 | f = tflow.tflow(resp=True) |
| 47 | |
| 48 | assert not sp.flowmap |
| 49 | |
| 50 | sp.load_flows([f]) |
| 51 | assert sp.flowmap |
| 52 | assert sp.next_flow(f) |
| 53 | assert not sp.flowmap |
| 54 | |
| 55 | sp.load_flows([f]) |
| 56 | assert sp.flowmap |
| 57 | sp.clear() |
| 58 | assert not sp.flowmap |
| 59 | |
| 60 | |
| 61 | def test_add_flows(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…