Skip to content

Commit

Permalink
add job result metadata test
Browse files Browse the repository at this point in the history
  • Loading branch information
clausmichele committed Feb 2, 2024
1 parent 9fc8a2a commit fcbe638
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/openeo_test_suite/lib/validate_stac.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
from stac_validator import stac_validator


def validate_stac_dict(collection_dict: dict):
stac = stac_validator.StacValidate()
is_valid_stac = stac.validate_dict(collection_dict)
if not is_valid_stac:
raise ValueError(stac.message)
raise ValueError(stac.message)

0 comments on commit fcbe638

Please sign in to comment.