We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68772fc commit 38c79b8Copy full SHA for 38c79b8
1 file changed
tests/nldi_test.py
@@ -1,9 +1,7 @@
1
-import pytest
2
from geopandas import GeoDataFrame
3
4
from dataretrieval.nldi import (
5
NLDI_API_BASE_URL,
6
- _validate_navigation_mode,
7
get_basin,
8
get_features,
9
get_flowlines,
@@ -282,9 +280,3 @@ def test_search_for_features_by_lat_long(requests_mock):
282
280
assert search_results["features"][0]["type"] == "Feature"
283
281
assert search_results["features"][0]["geometry"]["type"] == "LineString"
284
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