Skip to content
Snippets Groups Projects
Commit e30287fa authored by de Boissieu Florian's avatar de Boissieu Florian
Browse files

add test for raster:bands spatial_resolution

parent 97afc90e
No related branches found
No related tags found
1 merge request!6bump version to v1.1.0
......@@ -14,6 +14,10 @@ def test_build(s2scene_dir):
col = build_item_collection(s2scene_dir, collection_format())
assert len(col) == len(s2scene_dir.dirs())
assert len(col[0].assets) == 11
extra_fields = col[0].assets["B02"].extra_fields
raster_bands = extra_fields["raster:bands"][0]
assert raster_bands["spatial_resolution"] == 10
def test_datetime(s2scene_dir):
fmt = collection_format()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment