Skip to content

Commit 38c79b8

Browse files
thodson-usgsclaude
andcommitted
Drop trivial test for one-line ValueError change
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 68772fc commit 38c79b8

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

tests/nldi_test.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
import pytest
21
from geopandas import GeoDataFrame
32

43
from dataretrieval.nldi import (
54
NLDI_API_BASE_URL,
6-
_validate_navigation_mode,
75
get_basin,
86
get_features,
97
get_flowlines,
@@ -282,9 +280,3 @@ def test_search_for_features_by_lat_long(requests_mock):
282280
assert search_results["features"][0]["type"] == "Feature"
283281
assert search_results["features"][0]["geometry"]["type"] == "LineString"
284282
assert len(search_results["features"][0]["geometry"]["coordinates"]) == 27
285-
286-
287-
def test_validate_navigation_mode_invalid_raises_value_error():
288-
"""Invalid navigation mode is a bad value, not a bad type -> ValueError."""
289-
with pytest.raises(ValueError, match="Invalid navigation mode"):
290-
_validate_navigation_mode("XX")

0 commit comments

Comments
 (0)