File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ def __get_wfs_url(self, bbox: QueryRectangle) -> str:
120120 version = "2.0.0" ,
121121 request = 'GetFeature' ,
122122 outputFormat = 'application/json' ,
123- typeNames = f'registry: { self .__workflow_id } ' ,
123+ typeNames = f'{ self .__workflow_id } ' ,
124124 bbox = bbox .bbox_str ,
125125 time = bbox .time_str ,
126126 srsName = bbox .srs ,
Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ def test_geopandas(self):
286286 self .assertEqual (
287287 # pylint: disable=line-too-long
288288 wfs_request .url ,
289- "http://mock-instance/wfs/956d3656-2d14-5951-96a0-f962b92371cd?service=WFS&version=2.0.0&request=GetFeature&outputFormat=application%2Fjson&typeNames=registry%3A956d3656 -2d14-5951-96a0-f962b92371cd&bbox=-60.0%2C5.0%2C61.0%2C6.0&time=2014-04-01T12%3A00%3A00.000%2B00%3A00&srsName=EPSG%3A4326&queryResolution=0.1%2C0.1"
289+ "http://mock-instance/wfs/956d3656-2d14-5951-96a0-f962b92371cd?service=WFS&version=2.0.0&request=GetFeature&outputFormat=application%2Fjson&typeNames=956d3656 -2d14-5951-96a0-f962b92371cd&bbox=-60.0%2C5.0%2C61.0%2C6.0&time=2014-04-01T12%3A00%3A00.000%2B00%3A00&srsName=EPSG%3A4326&queryResolution=0.1%2C0.1"
290290 )
291291
292292 expected_df = gpd .GeoDataFrame (
@@ -401,7 +401,7 @@ def test_wfs_curl(self):
401401 self .assertEqual (
402402 # pylint: disable=line-too-long
403403 wfs_curl ,
404- """curl -X GET -H "Authorization: Bearer e327d9c3-a4f3-4bd7-a5e1-30b26cae8064" 'http://mock-instance/wfs/956d3656-2d14-5951-96a0-f962b92371cd?service=WFS&version=2.0.0&request=GetFeature&outputFormat=application%2Fjson&typeNames=registry%3A956d3656 -2d14-5951-96a0-f962b92371cd&bbox=-60.0%2C5.0%2C61.0%2C6.0&time=2014-04-01T12%3A00%3A00.000%2B00%3A00&srsName=EPSG%3A4326&queryResolution=0.1%2C0.1'"""
404+ """curl -X GET -H "Authorization: Bearer e327d9c3-a4f3-4bd7-a5e1-30b26cae8064" 'http://mock-instance/wfs/956d3656-2d14-5951-96a0-f962b92371cd?service=WFS&version=2.0.0&request=GetFeature&outputFormat=application%2Fjson&typeNames=956d3656 -2d14-5951-96a0-f962b92371cd&bbox=-60.0%2C5.0%2C61.0%2C6.0&time=2014-04-01T12%3A00%3A00.000%2B00%3A00&srsName=EPSG%3A4326&queryResolution=0.1%2C0.1'"""
405405 )
406406
407407 def test_repr (self ):
You can’t perform that action at this time.
0 commit comments