From 8ac6551636ce93e35a3e58d032205fdc18259a2a Mon Sep 17 00:00:00 2001 From: Alessandro Pasotti Date: Mon, 19 Mar 2018 14:56:08 +0100 Subject: [PATCH] [test] for WFS Fix endless loop Greetings from Bonn! --- tests/src/python/test_qgsserver_wfs.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/src/python/test_qgsserver_wfs.py b/tests/src/python/test_qgsserver_wfs.py index 05d734545866..24974b10d6ba 100644 --- a/tests/src/python/test_qgsserver_wfs.py +++ b/tests/src/python/test_qgsserver_wfs.py @@ -268,6 +268,10 @@ def test_getFeatureBBOX(self): self.wfs_request_compare("GetFeature", '1.1.0', "SRSNAME=EPSG:4326&TYPENAME=testlayer&RESULTTYPE=hits&BBOX=913144,5605992,913303,5606048,EPSG:3857", 'wfs_getFeature_1_1_0_epsgbbox_3_feature_3857') self.wfs_request_compare("GetFeature", '1.1.0', "SRSNAME=EPSG:4326&TYPENAME=testlayer&RESULTTYPE=hits&BBOX=913206,5606024,913213,5606026,EPSG:3857", 'wfs_getFeature_1_1_0_epsgbbox_1_feature_3857') + def test_getFeatureFeatureId(self): + """Test GetFeature with featureid""" + self.wfs_request_compare("GetFeature", '1.0.0', "SRSNAME=EPSG:4326&TYPENAME=testlayer&FEATUREID=testlayer.0", 'wfs_getFeature_1_0_0_featureid_0') + if __name__ == '__main__': unittest.main()