Skip to content

Commit

Permalink
Added disabled GetFeatureInfo test for relation reference widget
Browse files Browse the repository at this point in the history
  • Loading branch information
tudorbarascu committed Apr 9, 2018
1 parent 28dc356 commit aae8ce3
Show file tree
Hide file tree
Showing 3 changed files with 780 additions and 284 deletions.
16 changes: 16 additions & 0 deletions tests/src/python/test_qgsserver_wms_getfeatureinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 4 additions & 0 deletions tests/testdata/qgis_server/material_values.csv
Original file line number Diff line number Diff line change
@@ -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
Loading

0 comments on commit aae8ce3

Please sign in to comment.