Skip to content

Commit cd96dc0

Browse files
author
Matic Lubej
committed
test full shape
1 parent 2f892ca commit cd96dc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/mask/test_snow_mask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ def test_snow_empty_eopatch(test_eopatch):
4141
empty_eopatch = EOPatch(bbox=test_eopatch.bbox, timestamps=[], data={"BANDS-S2-L1C": empty_bands_array})
4242
task = SnowMaskTask((FeatureType.DATA, "BANDS-S2-L1C"), [2, 3, 7, 11], mask_name="TEST_SNOW_MASK")
4343
resulting_eopatch = task(empty_eopatch) # checks if the task runs without errors
44-
assert resulting_eopatch.mask["TEST_SNOW_MASK"].shape[0] == 0
44+
assert resulting_eopatch.mask["TEST_SNOW_MASK"].shape == (*empty_bands_array.shape[:-1], 1)

0 commit comments

Comments
 (0)