Skip to content

Commit 7f37e70

Browse files
committedNov 9, 2017
Add test
1 parent ac24c4a commit 7f37e70

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
 

‎tests/src/python/test_qgsserver_wms.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,16 @@ def test_getfeatureinfo(self):
207207
'FEATURE_COUNT=10&FILTER_GEOM=POLYGON((8.2035381 44.901459,8.2035562 44.901459,8.2035562 44.901418,8.2035381 44.901418,8.2035381 44.901459))',
208208
'wms_getfeatureinfo_invalid_query_layers')
209209

210+
# Test feature info request with '+' instead of ' ' in layers and
211+
# query_layers parameters
212+
self.wms_request_compare('GetFeatureInfo',
213+
'&layers=testlayer+%C3%A8%C3%A9&styles=&' +
214+
'info_format=text%2Fxml&transparent=true&' +
215+
'width=600&height=400&srs=EPSG%3A3857&bbox=913190.6389747962%2C' +
216+
'5606005.488876367%2C913235.426296057%2C5606035.347090538&' +
217+
'query_layers=testlayer+%C3%A8%C3%A9&X=190&Y=320',
218+
'wms_getfeatureinfo-text-xml')
219+
210220
def test_describelayer(self):
211221
# Test DescribeLayer
212222
self.wms_request_compare('DescribeLayer',

0 commit comments

Comments
 (0)
Please sign in to comment.