()
| 13 | |
| 14 | @pytest.fixture |
| 15 | def data(): |
| 16 | f = io.BytesIO() |
| 17 | |
| 18 | w = mitmproxy.io.FlowWriter(f) |
| 19 | flows = [ |
| 20 | tflow.tflow(resp=True), |
| 21 | tflow.tflow(err=True), |
| 22 | tflow.ttcpflow(), |
| 23 | tflow.ttcpflow(err=True), |
| 24 | ] |
| 25 | for flow in flows: |
| 26 | w.add(flow) |
| 27 | |
| 28 | f.seek(0) |
| 29 | return f |
| 30 | |
| 31 | |
| 32 | @pytest.fixture |
no test coverage detected
searching dependent graphs…