Export data should include a 'communities' key (list, possibly empty).
(store_with_data)
| 210 | |
| 211 | |
| 212 | def 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 | |
| 221 | def test_generate_html_includes_all_edge_types(store_with_data, tmp_path): |
nothing calls this directly
no test coverage detected