Merge pull request #7272 from tudorbarascu/tests

remove redundant test
This commit is contained in:
Alessandro Pasotti 2018-06-19 17:37:25 +02:00 committed by GitHub
commit 543c7a79c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 25 deletions

View File

@ -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.

View File

@ -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>