Skip to content

grass.gunittest: Fix html reporter output - #7754

Merged
echoix merged 3 commits into
OSGeo:mainfrom
echoix-org:ai-findings-autofix/python-grass-gunittest-reporters.py
Jul 18, 2026
Merged

echoix merged 3 commits into
OSGeo:mainfrom
echoix-org:ai-findings-autofix/python-grass-gunittest-reporters.py

Conversation

@echoix

@echoix echoix commented Jul 17, 2026

Copy link
Copy Markdown
Member

The HTML string has an unclosed double-quote in the style attribute (\"color: red> instead of \"color: red\">). This produces malformed HTML. The same issue exists on lines 481 and 498.

On line 1120, dir_errors is incorrectly accumulated using summary["failures"] instead of summary["errors"]. This causes directory-level error counts to be wrong and the dir_errors variable to never reflect actual errors.

echoix and others added 2 commits July 16, 2026 12:05
…ot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
…ot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
@echoix
echoix requested a review from wenzeslaus July 17, 2026 21:28
@github-actions github-actions Bot added Python Related code is in Python libraries labels Jul 18, 2026
@echoix
echoix merged commit 0e625c9 into OSGeo:main Jul 18, 2026
26 checks passed
@github-actions github-actions Bot added this to the 8.6.0 milestone Jul 18, 2026
@echoix
echoix deleted the ai-findings-autofix/python-grass-gunittest-reporters.py branch September 12, 2026 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

libraries Python Related code is in Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants