Skip to content

Commit

Permalink
Added disabled GetFeatureInfo test for value relation
Browse files Browse the repository at this point in the history
  • Loading branch information
tudorbarascu committed Apr 9, 2018
1 parent b7db262 commit 28dc356
Show file tree
Hide file tree
Showing 3 changed files with 614 additions and 162 deletions.
18 changes: 17 additions & 1 deletion tests/src/python/test_qgsserver_wms_getfeatureinfo.py
Expand Up @@ -167,7 +167,7 @@ def testGetFeatureInfo(self):
'wms_getfeatureinfo_notvisible',
'test_project_scalevisibility.qgs')

# Test GetFeatureInfo resolves value map widget values
# Test GetFeatureInfo resolves "value map" widget values
mypath = self.testdata_path + "test_project_values.qgs"
self.wms_request_compare('GetFeatureInfo',
'&layers=layer0&styles=&' +
Expand All @@ -181,6 +181,22 @@ def testGetFeatureInfo(self):
'wms_getfeatureinfo-values1-text-xml',
'test_project_values.qgs')

# Test GetFeatureInfo resolves "value relation" widget values
# TODO fix regression and enable test
# mypath = self.testdata_path + "test_project_values.qgs"
# self.wms_request_compare('GetFeatureInfo',
# '&layers=layer1&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' +
# '&WITH_GEOMETRY=True' +
# '&QUERY_LAYERS=layer1&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 28dc356

Please sign in to comment.