Skip to content

Commit d4f998d

Browse files
committed
patch test coverage
1 parent 94923f9 commit d4f998d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mapchete_eo/search/stac_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def client(self) -> CollectionClient:
3636
def eo_bands(self) -> List[str]:
3737
item_assets = self.client.extra_fields.get("item_assets", {})
3838
for v in item_assets.values():
39-
if "eo:bands" in v and "data" in v.get("roles", []):
39+
if "eo:bands" in v and "data" in v.get("roles", []): # pragma: no cover
4040
return ["eo:bands"]
4141
else: # pragma: no cover
4242
logger.debug("cannot find eo:bands definition from collections")

0 commit comments

Comments
 (0)