Skip to content

Commit 9b61575

Browse files
thodson-usgsclaude
andcommitted
Drop trivial TypeError/ValueError tests for dataProfile validation
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent ee67e84 commit 9b61575

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

tests/wqp_test.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -238,15 +238,3 @@ def test_get_results_wqx3_preserves_user_dataProfile(requests_mock):
238238
assert isinstance(df, DataFrame)
239239
sent = requests_mock.request_history[-1]
240240
assert sent.qs.get("dataprofile") == ["narrow"]
241-
242-
243-
def test_get_results_wqx3_invalid_dataProfile_raises():
244-
"""Invalid WQX3.0 dataProfile raises ValueError, not TypeError."""
245-
with pytest.raises(ValueError, match="WQX3.0 profile"):
246-
get_results(legacy=False, dataProfile="not_a_real_profile")
247-
248-
249-
def test_get_results_legacy_invalid_dataProfile_raises():
250-
"""Invalid legacy dataProfile raises ValueError, not TypeError."""
251-
with pytest.raises(ValueError, match="legacy profile"):
252-
get_results(legacy=True, dataProfile="not_a_real_profile")

0 commit comments

Comments
 (0)