MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / test_reverse_arrow

Function test_reverse_arrow

tests/test_path_cli.py:49–57  ·  view source on GitHub ↗
(monkeypatch, tmp_path, capsys)

Source from the content-addressed store, hash-verified

47
48
49def 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
60def _write_misranking_graph(tmp_path):

Callers

nothing calls this directly

Calls 2

_write_graphFunction · 0.70
_runFunction · 0.70

Tested by

no test coverage detected