Skip to content
Permalink
Browse files

Added disabled GetFeatureInfo test for relation reference widget

  • Loading branch information
tudorbarascu committed Apr 9, 2018
1 parent 28dc356 commit aae8ce31888cab777b76a04d4402ba64ec6cd308
@@ -197,6 +197,22 @@ def testGetFeatureInfo(self):
# 'wms_getfeatureinfo-values1-text-xml',
# 'test_project_values.qgs')

# Test GetFeatureInfo resolves "relation reference" widget "display expression" values
# TODO make GetFeatureInfo show what's in the display expression and enable test
# mypath = self.testdata_path + "test_project_values.qgs"
# self.wms_request_compare('GetFeatureInfo',
# '&layers=layer2&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=layer2&I=487&J=308',
# 'wms_getfeatureinfo-values2-text-xml',
# 'test_project_values.qgs')

def testGetFeatureInfoFilter(self):
# Test getfeatureinfo response xml

@@ -0,0 +1,4 @@
id,short_ro,_displayname_en,diameter,pressure_nominal
1,PE,PE 1000 PN6,1000,6
2,PE,PE,,
3,PE,PE 1000 PN8,1000,8

0 comments on commit aae8ce3

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