(tmp_path)
| 23 | |
| 24 | |
| 25 | def _render(tmp_path): |
| 26 | G = nx.Graph() |
| 27 | G.add_node("a", label="Alpha", source_file="a.py", file_type="code") |
| 28 | G.add_node("b", label="Beta", source_file="b.py", file_type="code") |
| 29 | G.add_edge("a", "b", relation="calls", confidence="EXTRACTED") |
| 30 | out = tmp_path / "graph.html" |
| 31 | to_html(G, {0: ["a", "b"]}, str(out), community_labels={0: "Core"}) |
| 32 | return out.read_text(encoding="utf-8") |
| 33 | |
| 34 | |
| 35 | def test_community_order_controls_reach_small_renderer(tmp_path): |
no test coverage detected