pub fn pytest(refs: &[PushRef]) -> OutcomeExpand description
The Python test gate — pre-push-pytest, cargo-test’s shape for the
third ecosystem. JS had a push-time suite from the start and Rust
gained one; Python repositories declaring a pytest setup (a
pytest.ini or a conftest.py — a bare pyproject.toml is not a
promise to test) ran nothing at push until now.
Same contract as the other suites: runs against the PUSHED tree per
ref (see pushed_tree), Unavailable — loudly, never green — when
git will not answer or pytest is not installed, and fail-fast on a red
suite.