()
| 12 | |
| 13 | |
| 14 | def _tiny_graph(): |
| 15 | G = nx.Graph() |
| 16 | G.add_node("a", label="Alpha", file_type="code", source_file="a.py") |
| 17 | G.add_node("b", label="Beta", file_type="code", source_file="b.py") |
| 18 | G.add_edge("a", "b", relation="calls", confidence="EXTRACTED", weight=1.0) |
| 19 | return G, {0: ["a", "b"]} |
| 20 | |
| 21 | |
| 22 | def test_to_canvas_uses_atomic_replace(tmp_path, monkeypatch): |
no test coverage detected