Skip to content

Commit

Permalink
ignore typing in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault committed Nov 1, 2024
1 parent ef82f26 commit caa8597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def test_mlm_at_least_one_asset_model(
else:
with pytest.raises(pystac.errors.STACValidationError) as exc:
pystac.validation.validate(mlm_item, validator=mlm_validator)
assert exc.value.source[0].schema["$comment"] in [
assert exc.value.source[0].schema["$comment"] in [ # type: ignore
"At least one Asset must provide the model definition indicated by the 'mlm:model' role.",
"Used to check the artifact type property that is required by a Model Asset annotated by 'mlm:model' role."
]
Expand Down

0 comments on commit caa8597

Please sign in to comment.