Skip to content
Permalink
Browse files

Add test

  • Loading branch information
pblottiere committed Nov 9, 2017
1 parent ac24c4a commit 7f37e7076297b33c9f6424d541fda1b0440bf9f6
Showing with 10 additions and 0 deletions.
  1. +10 −0 tests/src/python/test_qgsserver_wms.py
@@ -207,6 +207,16 @@ def test_getfeatureinfo(self):
'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))',
'wms_getfeatureinfo_invalid_query_layers')

# Test feature info request with '+' instead of ' ' in layers and
# query_layers parameters
self.wms_request_compare('GetFeatureInfo',
'&layers=testlayer+%C3%A8%C3%A9&styles=&' +
'info_format=text%2Fxml&transparent=true&' +
'width=600&height=400&srs=EPSG%3A3857&bbox=913190.6389747962%2C' +
'5606005.488876367%2C913235.426296057%2C5606035.347090538&' +
'query_layers=testlayer+%C3%A8%C3%A9&X=190&Y=320',
'wms_getfeatureinfo-text-xml')

def test_describelayer(self):
# Test DescribeLayer
self.wms_request_compare('DescribeLayer',

0 comments on commit 7f37e70

Please sign in to comment.
You can’t perform that action at this time.