Skip to content

Commit 48179cc

Browse files
fix: add pr_title to test CSV schema
The CSV_FIELDNAMES now includes pr_title as a required column, but test_verify_settings_csv_exists was missing it, causing CI failure. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent c490720 commit 48179cc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_verify.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ def test_verify_settings_csv_exists(tmp_path, monkeypatch):
2727
monkeypatch.chdir(tmp_path)
2828
csv_file = tmp_path / "report.csv"
2929
csv_file.write_text(
30-
"pr_url,complexity,developer,date,team,merged_at,created_at,lines_added,lines_deleted,explanation,source,approved_by\n"
31-
"https://github.com/org/repo/pull/1,5,alice,2024-01-15,Platform,,,100,50,Test,github,bob\n"
30+
"pr_url,complexity,developer,date,team,merged_at,created_at,lines_added,lines_deleted,explanation,source,approved_by,pr_title\n"
31+
"https://github.com/org/repo/pull/1,5,alice,2024-01-15,Platform,,,100,50,Test,github,bob,Test PR\n"
3232
)
3333
results = run_verify_settings(csv_path=csv_file)
3434
csv_check = next((r for r in results if r[0] == "CSV path"), None)

0 commit comments

Comments
 (0)