We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10038d3 commit 6bd21a0Copy full SHA for 6bd21a0
tests/test_url_handling.py
@@ -70,6 +70,7 @@ def test__sort_url_undefined_query():
70
71
def test_quoting():
72
"""Test quoting query params for ERDDAP 2.23."""
73
- url = 'https://opendap.co-ops.nos.noaa.gov/erddap/tabledap/IOOS_Hourly_Height_Verified_Water_Level.csvp?WL_VALUE,time&BEGIN_DATE="2016-10-04"&END_DATE="2016-10-12"&DATUM="MSL"&STATION_ID="8729840"'
74
- data = urlopen(url)
75
- assert data is not None
+ for response in ("csvp", "ncCF"):
+ url = f'https://opendap.co-ops.nos.noaa.gov/erddap/tabledap/IOOS_Hourly_Height_Verified_Water_Level.{response}?WL_VALUE,time&BEGIN_DATE="2016-10-04"&END_DATE="2016-10-12"&DATUM="MSL"&STATION_ID="8729840"'
+ data = urlopen(url)
76
+ assert data is not None
0 commit comments