(store_with_data, tmp_path)
| 129 | |
| 130 | |
| 131 | def test_generate_html(store_with_data, tmp_path): |
| 132 | from code_review_graph.visualization import generate_html |
| 133 | |
| 134 | output_path = tmp_path / "graph.html" |
| 135 | generate_html(store_with_data, output_path) |
| 136 | assert output_path.exists() |
| 137 | content = output_path.read_text() |
| 138 | assert "d3js.org" in content or "d3.v7" in content |
| 139 | assert "auth.py" in content |
| 140 | assert "AuthService" in content |
| 141 | assert "<!DOCTYPE html>" in content |
| 142 | assert "</html>" in content |
| 143 | |
| 144 | |
| 145 | def test_cpp_include_resolution(tmp_path): |
nothing calls this directly
no test coverage detected