@@ -167,8 +167,8 @@ def testGetFeatureInfo(self):
167
167
'wms_getfeatureinfo_notvisible' ,
168
168
'test_project_scalevisibility.qgs' )
169
169
170
- # Test GetFeatureInfo resolves "value map" widget values
171
- mypath = self .testdata_path + "test_project_values.qgs "
170
+ # Test GetFeatureInfo resolves "value map" widget values but also Server usage of qgs and gpkg file
171
+ mypath = self .testdata_path + "test_project_values.qgz "
172
172
self .wms_request_compare ('GetFeatureInfo' ,
173
173
'&layers=layer0&styles=&' +
174
174
'VERSION=1.3.0&' +
@@ -179,11 +179,11 @@ def testGetFeatureInfo(self):
179
179
'&FEATURE_COUNT=10' +
180
180
'&QUERY_LAYERS=layer0&I=487&J=308' ,
181
181
'wms_getfeatureinfo-values0-text-xml' ,
182
- 'test_project_values.qgs ' )
182
+ 'test_project_values.qgz ' )
183
183
184
184
def testGetFeatureInfoValueRelation (self ):
185
185
"""Test GetFeatureInfo resolves "value relation" widget values. regression 18518"""
186
- mypath = self .testdata_path + "test_project_values.qgs "
186
+ mypath = self .testdata_path + "test_project_values.qgz "
187
187
self .wms_request_compare ('GetFeatureInfo' ,
188
188
'&layers=layer1&styles=&' +
189
189
'VERSION=1.3.0&' +
@@ -195,13 +195,13 @@ def testGetFeatureInfoValueRelation(self):
195
195
'&WITH_GEOMETRY=True' +
196
196
'&QUERY_LAYERS=layer1&I=487&J=308' ,
197
197
'wms_getfeatureinfo-values1-text-xml' ,
198
- 'test_project_values.qgs ' )
198
+ 'test_project_values.qgz ' )
199
199
200
200
# TODO make GetFeatureInfo show the dictionary values and enable test
201
201
@unittest .expectedFailure
202
202
def testGetFeatureInfoValueRelationArray (self ):
203
203
"""Test GetFeatureInfo on "value relation" widget with array field (multiple selections)"""
204
- mypath = self .testdata_path + "test_project_values.qgs "
204
+ mypath = self .testdata_path + "test_project_values.qgz "
205
205
self .wms_request_compare ('GetFeatureInfo' ,
206
206
'&layers=layer3&styles=&' +
207
207
'VERSION=1.3.0&' +
@@ -213,13 +213,13 @@ def testGetFeatureInfoValueRelationArray(self):
213
213
'&WITH_GEOMETRY=True' +
214
214
'&QUERY_LAYERS=layer3&I=487&J=308' ,
215
215
'wms_getfeatureinfo-values3-text-xml' ,
216
- 'test_project_values.qgs ' )
216
+ 'test_project_values.qgz ' )
217
217
218
218
# TODO make GetFeatureInfo show what's in the display expression and enable test
219
219
@unittest .expectedFailure
220
220
def testGetFeatureInfoRelationReference (self ):
221
221
"""Test GetFeatureInfo solves "relation reference" widget "display expression" values"""
222
- mypath = self .testdata_path + "test_project_values.qgs "
222
+ mypath = self .testdata_path + "test_project_values.qgz "
223
223
self .wms_request_compare ('GetFeatureInfo' ,
224
224
'&layers=layer2&styles=&' +
225
225
'VERSION=1.3.0&' +
@@ -231,7 +231,7 @@ def testGetFeatureInfoRelationReference(self):
231
231
'&WITH_GEOMETRY=True' +
232
232
'&QUERY_LAYERS=layer2&I=487&J=308' ,
233
233
'wms_getfeatureinfo-values2-text-xml' ,
234
- 'test_project_values.qgs ' )
234
+ 'test_project_values.qgz ' )
235
235
236
236
def testGetFeatureInfoFilter (self ):
237
237
# Test getfeatureinfo response xml
0 commit comments