Skip to content

Commit 1b31e55

Browse files
committed
[test] for WFS Fix endless loop
Greetings from Bonn!
1 parent cbe93fb commit 1b31e55

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/src/python/test_qgsserver_wfs.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,10 @@ def test_getFeatureBBOX(self):
268268
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')
269269
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')
270270

271+
def test_getFeatureFeatureId(self):
272+
"""Test GetFeature with featureid"""
273+
self.wfs_request_compare("GetFeature", '1.0.0', "SRSNAME=EPSG:4326&TYPENAME=testlayer&FEATUREID=testlayer.0", 'wfs_getFeature_1_0_0_featureid_0')
274+
271275

272276
if __name__ == '__main__':
273277
unittest.main()

0 commit comments

Comments
 (0)