(tmpdir)
| 32 | |
| 33 | |
| 34 | def test_save_flows(tmpdir): |
| 35 | flows = [tflow.tflow(resp=False), tflow.tflow(resp=True)] |
| 36 | static_viewer.save_flows(tmpdir, flows) |
| 37 | assert tmpdir.join("flows.json").check(file=1) |
| 38 | assert tmpdir.join("flows.json").read() == json.dumps( |
| 39 | [flow_to_json(f) for f in flows] |
| 40 | ) |
| 41 | |
| 42 | |
| 43 | def test_save_flows_content(tmpdir): |
nothing calls this directly
no test coverage detected
searching dependent graphs…