pypa / bandersnatch

A PyPI mirror client according to PEP 381 http://www.python.org/dev/peps/pep-0381/
Academic Free License v3.0
448 stars 141 forks source link

test: allow skipping S3-related tests #1766

Closed miketheman closed 3 months ago

miketheman commented 3 months ago

Show the user how to skip S3 tests.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.70%. Comparing base (4d020e8) to head (5e1c38d). Report is 122 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1766 +/- ## ========================================== + Coverage 79.69% 83.70% +4.00% ========================================== Files 31 33 +2 Lines 4324 4381 +57 Branches 780 783 +3 ========================================== + Hits 3446 3667 +221 + Misses 721 531 -190 - Partials 157 183 +26 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

miketheman commented 3 months ago

I also thought a little bit about https://pypi.org/project/pytest-minio-mock/ - that might be a more interesting long-term idea, so no real minio server has to be running for tests.