mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
commit
543c7a79c5
@ -284,19 +284,6 @@ class TestQgsServerWMSGetFeatureInfo(TestQgsServerWMSTestBase):
|
||||
'FEATURE_COUNT=10&FILTER=testlayer%20%C3%A8%C3%A9' + urllib.parse.quote(':"NAME" = \'two\''),
|
||||
'wms_getfeatureinfo_filter_no_width')
|
||||
|
||||
def test_value_relation(self):
|
||||
"""Test whether value relations are resolved: regression 18518"""
|
||||
self.wms_request_compare('GetFeatureInfo',
|
||||
'&BBOX=537912.30469845747575164,4975501.92125043831765652,577227.89428471261635423,4996610.36656293831765652' +
|
||||
'&CRS=EPSG:32632' +
|
||||
'&WIDTH=1328&HEIGHT=713' +
|
||||
'&LAYERS=test_multi' +
|
||||
'&STYLES=&FORMAT=image/jpeg' +
|
||||
'&QUERY_LAYERS=test_multi&INFO_FORMAT=text/xml' +
|
||||
'&I=429&J=528&FEATURE_COUNT=10',
|
||||
'wms_getfeatureinfo_value_relation',
|
||||
project='test_project_value_relation.qgz')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
Binary file not shown.
BIN
tests/testdata/qgis_server/value_relation.gpkg
vendored
BIN
tests/testdata/qgis_server/value_relation.gpkg
vendored
Binary file not shown.
@ -1,12 +0,0 @@
|
||||
Content-Length: 238
|
||||
Content-Type: text/xml; charset=utf-8
|
||||
|
||||
<GetFeatureInfoResponse>
|
||||
<Layer name="test_multi">
|
||||
<Feature id="7">
|
||||
<Attribute value="7" name="fid"/>
|
||||
<Attribute value="10" name="id"/>
|
||||
<Attribute value="Piacenza" name="fk_prov"/>
|
||||
</Feature>
|
||||
</Layer>
|
||||
</GetFeatureInfoResponse>
|
Loading…
x
Reference in New Issue
Block a user