Skip to content

Commit

Permalink
test for GetFeatureinfo value map relation values
Browse files Browse the repository at this point in the history
  • Loading branch information
tudorbarascu committed Apr 8, 2018
1 parent 4c8b159 commit 88e9e84
Show file tree
Hide file tree
Showing 3 changed files with 497 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/src/python/test_qgsserver_wms_getfeatureinfo.py
Expand Up @@ -167,6 +167,20 @@ def testGetFeatureInfo(self):
'wms_getfeatureinfo_notvisible',
'test_project_scalevisibility.qgs')

# Test GetFeatureInfo resolves value map widget values
mypath = self.testdata_path + "test_project_values.qgs"
self.wms_request_compare('GetFeatureInfo',
'&layers=layer0&styles=&' +
'VERSION=1.3.0&' +
'info_format=text%2Fxml&' +
'width=926&height=787&srs=EPSG%3A4326' +
'&bbox=912217,5605059,914099,5606652' +
'&CRS=EPSG:3857' +
'&FEATURE_COUNT=10' +
'&QUERY_LAYERS=layer0&I=487&J=308',
'wms_getfeatureinfo-values1-text-xml',
'test_project_values.qgs')

def testGetFeatureInfoFilter(self):
# Test getfeatureinfo response xml

Expand Down

0 comments on commit 88e9e84

Please sign in to comment.