Skip to content

993 progress: convert 2 more test files to pytest; 5 remain#1533

Merged
gadomski merged 15 commits intostac-utils:mainfrom
teks:993-convert-to-pytest-8
Feb 27, 2025
Merged

993 progress: convert 2 more test files to pytest; 5 remain#1533
gadomski merged 15 commits intostac-utils:mainfrom
teks:993-convert-to-pytest-8

Conversation

@teks
Copy link
Contributor

@teks teks commented Feb 27, 2025

Related Issue(s): #993

Description: Converted test_raster.py and test_sar.py to pytest.

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.

@codecov
Copy link

codecov bot commented Feb 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.49%. Comparing base (0171216) to head (2d2eb3a).
Report is 13 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1533   +/-   ##
=======================================
  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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gadomski gadomski added this pull request to the merge queue Feb 27, 2025
Merged via the queue into stac-utils:main with commit a0bed9a Feb 27, 2025
19 checks passed
kmodali pushed a commit to kmodali/pystac that referenced this pull request Oct 16, 2025
…ls#1533)

* 993 start conversion of test_raster.py

* 993 nonfunctional de-class of test_raster.py

* 993 de-class test_raster.py's cassettes

* 993 start refactor & prove w/couple tests

* 993 convert assertions to pytest in test_raster.py

* 993 finish conversion of test_raster.py

* 993 pre-commit faff

* 993 convert assertions in test_sar.py

* 993 convert the cassette-using tests in test_sar.py

* 993 provide a sentinel fixture & prove it works

* 993 convert remaining SarItemExtTest tests

* 993 prep for converting SarSummariesTest

* 993 non-functional declassing

* 993 convert summaries tests in test_sar.py

* 993 pre-commit to finish test_sar.py
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