Skip to content

Commit e2c16fe

Browse files
thodson-usgsclaude
andcommitted
Drop trivial TypeError/ValueError tests for url helpers
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent e5d1afd commit e2c16fe

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

tests/wqp_test.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
what_project_weights,
1515
what_projects,
1616
what_sites,
17-
wqp_url,
18-
wqx3_url,
1917
)
2018

2119

@@ -220,18 +218,6 @@ def test_check_kwargs():
220218
kwargs = _check_kwargs(kwargs)
221219

222220

223-
def test_wqp_url_unknown_service_raises_value_error():
224-
"""Unknown legacy service should raise ValueError with a single readable message."""
225-
with pytest.raises(ValueError, match="Legacy service not recognized"):
226-
wqp_url("NotAService")
227-
228-
229-
def test_wqx3_url_unknown_service_raises_value_error():
230-
"""Unknown WQX3.0 service should raise ValueError with a single readable message."""
231-
with pytest.raises(ValueError, match="WQX3.0 service not recognized"):
232-
wqx3_url("NotAService")
233-
234-
235221
def test_what_organizations_legacy_false_warns(requests_mock):
236222
"""legacy=False on what_organizations should emit a warning, not print to stdout."""
237223
request_url = (

0 commit comments

Comments
 (0)