Skip to content

Commit aae8ce3

Browse files
committedApr 9, 2018
Added disabled GetFeatureInfo test for relation reference widget
1 parent 28dc356 commit aae8ce3

File tree

3 files changed

+780
-284
lines changed

3 files changed

+780
-284
lines changed
 

‎tests/src/python/test_qgsserver_wms_getfeatureinfo.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,22 @@ def testGetFeatureInfo(self):
197197
# 'wms_getfeatureinfo-values1-text-xml',
198198
# 'test_project_values.qgs')
199199

200+
# Test GetFeatureInfo resolves "relation reference" widget "display expression" values
201+
# TODO make GetFeatureInfo show what's in the display expression and enable test
202+
# mypath = self.testdata_path + "test_project_values.qgs"
203+
# self.wms_request_compare('GetFeatureInfo',
204+
# '&layers=layer2&styles=&' +
205+
# 'VERSION=1.3.0&' +
206+
# 'info_format=text%2Fxml&' +
207+
# 'width=926&height=787&srs=EPSG%3A4326' +
208+
# '&bbox=912217,5605059,914099,5606652' +
209+
# '&CRS=EPSG:3857' +
210+
# '&FEATURE_COUNT=10' +
211+
# '&WITH_GEOMETRY=True' +
212+
# '&QUERY_LAYERS=layer2&I=487&J=308',
213+
# 'wms_getfeatureinfo-values2-text-xml',
214+
# 'test_project_values.qgs')
215+
200216
def testGetFeatureInfoFilter(self):
201217
# Test getfeatureinfo response xml
202218

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
id,short_ro,_displayname_en,diameter,pressure_nominal
2+
1,PE,PE 1000 PN6,1000,6
3+
2,PE,PE,,
4+
3,PE,PE 1000 PN8,1000,8

‎tests/testdata/qgis_server/test_project_values.qgs

Lines changed: 760 additions & 284 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.