Skip to content

test(packaging): cover wheel CLI failures - #217

Open
be-student wants to merge 1 commit into
MarcoPorcellato:mainfrom
be-student:test/152-wheel-cli-failures
Open

test(packaging): cover wheel CLI failures#217
be-student wants to merge 1 commit into
MarcoPorcellato:mainfrom
be-student:test/152-wheel-cli-failures

Conversation

@be-student

Copy link
Copy Markdown

Fixes #152.

Adds direct main() coverage for valid wheels, missing paths, and malformed archives. The failure cases assert exit code 2 and stable wheel-contract: diagnostics without exceptions escaping.

Validation:

  • uv run pytest tests/test_check_wheel_contract.py -q
  • make all (813 tests, 91.20% coverage)
  • make vendor-name-check

AI assistance was used to draft the tests; I reviewed the complete diff and verified it with the repository's deterministic checks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(packaging): cover invalid wheel archives and CLI failure output

1 participant