Skip to content

Commit

Permalink
STAC: implement queryable collections
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Nov 3, 2024
1 parent dee6684 commit 3d6eb4b
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,14 @@ def test_collections(config):
assert len(content['collections']) == content['numberMatched']
assert len(content['collections']) == content['numberReturned']

headers, status, content = api.collections({}, {'limit': 0, 'f': 'json'})
content = json.loads(content)

assert headers['Content-Type'] == 'application/json'
assert status == 200
assert len(content['collections']) == 0


def test_queryables(config):
api = STACAPI(config)
headers, status, content = api.queryables({}, {})
Expand Down

0 comments on commit 3d6eb4b

Please sign in to comment.