Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago committed Oct 29, 2024
1 parent f717902 commit a3915ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,6 @@ def test_rio_stac_cli(runner):
]
assert "datetime" in stac_item["properties"]
assert "proj:epsg" in stac_item["properties"]
assert "proj:projjson" in stac_item["properties"]
assert "proj:projjson" not in stac_item["properties"]
assert "raster:bands" in stac_item["assets"]["asset"]
assert "eo:bands" in stac_item["assets"]["asset"]
6 changes: 4 additions & 2 deletions tests/test_create_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,5 +342,7 @@ def test_mars_dataset():
item_dict = item.to_dict()

assert not item_dict["properties"].get("proj:epsg")
assert "proj:projjson" not in item_dict["properties"]
assert "proj:wkt2" in item_dict["properties"]
assert (
"proj:projjson" in item_dict["properties"]
or "proj:wkt2" in item_dict["properties"]
)

0 comments on commit a3915ae

Please sign in to comment.