(monkeypatch, tmp_path, capsys)
| 47 | |
| 48 | |
| 49 | def test_reverse_arrow(monkeypatch, tmp_path, capsys): |
| 50 | p = _write_graph(tmp_path) |
| 51 | # #2487: path is directed by default, so walking the stored edge backwards |
| 52 | # needs the --undirected opt-out to exercise the reverse-arrow rendering. |
| 53 | out = _run(monkeypatch, p, "validateSanitySession", "createPatchHandler", capsys, |
| 54 | "--undirected") |
| 55 | assert "Shortest path (1 hops):" in out |
| 56 | assert "validateSanitySession() <--calls [EXTRACTED]-- createPatchHandler()" in out |
| 57 | assert "validateSanitySession() --calls [EXTRACTED]--> createPatchHandler()" not in out |
| 58 | |
| 59 | |
| 60 | def _write_misranking_graph(tmp_path): |
nothing calls this directly
no test coverage detected