Skip to content

Commit

Permalink
update item test with collection
Browse files Browse the repository at this point in the history
  • Loading branch information
hrodmn committed Aug 16, 2024
1 parent 39c4024 commit 98dacbb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/test_stac.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,11 @@ def test_create_item_with_collection() -> None:
cloud_provider=cloud_provider,
),
)
print(item.links)
item.validate()
assert item.collection_id == COLLECTION_ID_FORMAT.format(
region=region.value,
product=product.value,
cloud_provider=cloud_provider.value,
)


def test_create_item_collection() -> None:
Expand Down

0 comments on commit 98dacbb

Please sign in to comment.