Skip to content

Commit

Permalink
Update test_image.py
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencpope authored Oct 8, 2024
1 parent f4a0ade commit c73e0e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion descarteslabs/core/catalog/tests/test_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ def test_ndarray_geocontext(self, mock_raster):
image = Image.get("landsat:LC08:PRE:TOAR:meta_LC80270312016188_v1")
arr, info = image.ndarray("red", resolution=1000, raster_info=True)

assert mock_raster.called_once()
mock_raster.assert_called_once()
assert image.geocontext.geometry is not None
print(mock_raster.call_args)
assert mock_raster.call_args[1]["cutline"] is None
Expand Down

0 comments on commit c73e0e2

Please sign in to comment.