Skip to content

[quality] test: add unit tests for cleanup.py (parse_nevr, version sorting, local cleanup)#57

Open
hanthor-hive-agent[bot] wants to merge 1 commit into
mainfrom
quality/test-cleanup-script
Open

[quality] test: add unit tests for cleanup.py (parse_nevr, version sorting, local cleanup)#57
hanthor-hive-agent[bot] wants to merge 1 commit into
mainfrom
quality/test-cleanup-script

Conversation

@hanthor-hive-agent

Copy link
Copy Markdown
Contributor

Test Improvement\n\nAdds 15 unit tests for scripts/cleanup.py, covering:\n\n- parse_nevr(): RPM filename parsing with/without epoch, dots in names, non-RPM fallbacks\n- get_rpm_version_sort_key(): Version ordering, release comparisons, epoch sorting, same-filename stability\n- cleanup_local(): Empty directory, dry-run preservation, live mode no-crash\n\nThis addresses the missing test coverage for scripts/cleanup.py identified in issue #55.\n\n---\nFiled by quality agent (ACMM L4/L6 — full mode)

…rting, local cleanup)

Signed-off-by: hanthor-hive-agent[bot] <hanthor-hive-agent[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants