Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

993 progress: convert 3 more files to pytest #1528

Merged
merged 12 commits into from
Feb 18, 2025

Conversation

teks
Copy link
Contributor

@teks teks commented Feb 17, 2025

Related Issue(s): #993

Description: This time it's tests/test_stac_io.py, tests/test_summaries.py, and tests/test_utils.py. For the latter I converted the biggest of the tests with internal loops to pytest's parametrize; a few tests in test_utils.py got collapsed down to one with some redundancy (likely accidental) taken out. That's why it seems to run more tests (and skip more) than previously. Also there's some windows-only tests this time; I assume those will get run when this PR is submitted?

PR Checklist:

  • Pre-commit hooks pass (run pre-commit run --all-files)
  • Tests pass (run pytest)
  • Documentation has been updated to reflect changes, if applicable
  • This PR maintains or improves overall codebase code coverage.
  • Changes are added to the CHANGELOG. See the docs for information about adding to the changelog.

Copy link

codecov bot commented Feb 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.49%. Comparing base (8f2290b) to head (05877af).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1528   +/-   ##
=======================================
  Coverage   91.49%   91.49%           
=======================================
  Files          54       54           
  Lines        7571     7571           
  Branches      922      922           
=======================================
  Hits         6927     6927           
  Misses        457      457           
  Partials      187      187           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gadomski gadomski added this pull request to the merge queue Feb 18, 2025
Merged via the queue into stac-utils:main with commit 6d0bf65 Feb 18, 2025
19 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.

2 participants