Skip to content

Conversation

@jsignell
Copy link
Member

@jsignell jsignell commented Jan 31, 2025

Related Issue(s):

Description:

  • add static catalog to test data (copied from pystac)
  • ensure that Client.get_collection returns specified collection
  • ensure that if no matching collection is found it raises

PR Checklist:

  • Code is formatted
  • Tests pass
  • Changes are added to the CHANGELOG

* add static catalog to test data (copied from pystac)
* ensure that `Client.get_collection` returns specified collection
* ensure that if no matching collection is found it raises
@codecov-commenter
Copy link

codecov-commenter commented Jan 31, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.08%. Comparing base (21435b0) to head (70f8da2).
Report is 113 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #782      +/-   ##
==========================================
+ Coverage   93.43%   94.08%   +0.64%     
==========================================
  Files          13       15       +2     
  Lines         990     1200     +210     
==========================================
+ Hits          925     1129     +204     
- Misses         65       71       +6     

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

Copy link
Member

@gadomski gadomski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just needs a CHANGELOG.

@jsignell jsignell requested a review from gadomski January 31, 2025 19:16
@jsignell jsignell enabled auto-merge (squash) January 31, 2025 19:42
@jsignell jsignell merged commit 1b16191 into stac-utils:main Jan 31, 2025
15 checks passed
@jsignell jsignell deleted the get_collection-static branch January 31, 2025 22:26
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.

get_collection always returns last collection with a local catalog

3 participants