Skip to content

Commit 5917fa4

Browse files
committed
Remove test for common names in Hls2L30 to streamline validation
1 parent d7c724c commit 5917fa4

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

tests/unit/data_sources/test_nasa_hls.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,6 @@ def test_hls2_l30_accepts_asset_keys() -> None:
6666
assert set(data_source.asset_bands.keys()) == {"B01", "B04", "B05", "Fmask"}
6767

6868

69-
def test_hls2_l30_rejects_common_names() -> None:
70-
with pytest.raises(ValueError, match="unsupported Hls2L30 band"):
71-
Hls2L30(band_names=["nir"])
72-
73-
7469
def test_hls2_rejects_unknown_band() -> None:
7570
with pytest.raises(ValueError, match="unsupported Hls2S30 band"):
7671
Hls2S30(band_names=["B01", "NOT_A_BAND"])

0 commit comments

Comments
 (0)