Skip to content

Commit f69b754

Browse files
committed
update test
1 parent 599b6e5 commit f69b754

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/test_lint.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,13 @@ def test_linter_collection_recursive():
126126
assert linter.recursive == True
127127
assert linter.validate_all[0] == {
128128
"version": "1.0.0",
129-
"path": "sample_files/1.0.0/catalog-with-bad-item.json",
129+
"path": "sample_files/1.0.0/./bad-item.json",
130130
"schema": [
131-
"https://schemas.stacspec.org/v1.0.0/catalog-spec/json-schema/catalog.json"
131+
"https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/item.json"
132132
],
133-
"valid_stac": True,
134-
"asset_type": "CATALOG",
135-
"validation_method": "recursive",
133+
"valid_stac": False,
134+
"error_message": "'id' is a required property",
135+
"error_type": "JSONSchemaValidationError",
136136
}
137137

138138

0 commit comments

Comments
 (0)