MCPcopy Index your code
hub / github.com/tirth8205/code-review-graph / test_export_includes_communities

Function test_export_includes_communities

tests/test_visualization.py:212–218  ·  view source on GitHub ↗

Export data should include a 'communities' key (list, possibly empty).

(store_with_data)

Source from the content-addressed store, hash-verified

210
211
212def test_export_includes_communities(store_with_data):
213 """Export data should include a 'communities' key (list, possibly empty)."""
214 from code_review_graph.visualization import export_graph_data
215
216 data = export_graph_data(store_with_data)
217 assert "communities" in data
218 assert isinstance(data["communities"], list)
219
220
221def test_generate_html_includes_all_edge_types(store_with_data, tmp_path):

Callers

nothing calls this directly

Calls 1

export_graph_dataFunction · 0.90

Tested by

no test coverage detected