Skip to content

CI: install pytest-mock - #2

Merged
edgarciavfx merged 1 commit into
mainfrom
ci/install-pytest-mock
Jul 10, 2026
Merged

edgarciavfx merged 1 commit into
mainfrom
ci/install-pytest-mock

Conversation

@edgarciavfx

Copy link
Copy Markdown
Owner

Summary

  • CI's install step only ran pip install pytest, never pytest-mock, so every test using the mocker fixture (9 files, 55 test cases) failed at setup with fixture 'mocker' not found.
  • This has been broken on main for at least the last 2 pushes — unrelated to Fix: import plateprep does not match PyPI package name #1, just never noticed because nothing gated on the check.
  • Adds pytest-mock next to pytest in the install step.

Test plan

  • Reproduced the failure locally with a clean venv installing only pytest + requirements.txt — same 55 errors
  • Reinstalled with pytest pytest-mock — 166 passed, 8 deselected, 0 errors

🤖 Generated with Claude Code

Every test using the mocker fixture (9 test files) errored at setup with
"fixture 'mocker' not found" because CI only installed pytest, not the
pytest-mock plugin. Pre-existing on main, unrelated to the plateprep
alias fix — just never caught since nothing checked the job status.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@edgarciavfx
edgarciavfx merged commit 7c78674 into main Jul 10, 2026
4 checks passed
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.

1 participant