Skip to content
Permalink
Browse files
test_provider_wfs.py: update testSelectZeroFeature() for 3.16 branch
  • Loading branch information
rouault authored and nyalldawson committed Nov 1, 2021
1 parent 5f24c9a commit 70146820873c313cdd3160e250b3876bf6ea819b
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/python/test_provider_wfs.py
@@ -4925,7 +4925,7 @@ def testSelectZeroFeature(self):
""".encode('UTF-8'))

with open(sanitize(endpoint,
"""?SERVICE=WFS&REQUEST=GetFeature&VERSION=2.0.0&TYPENAMES=my:typename&COUNT=1&SRSNAME=urn:ogc:def:crs:EPSG::4326&FILTER=<fes:Filter xmlns:fes="http://www.opengis.net/fes/2.0">
"""?SERVICE=WFS&REQUEST=GetFeature&VERSION=2.0.0&TYPENAMES=my:typename&TYPENAME=my:typename&COUNT=1&SRSNAME=urn:ogc:def:crs:EPSG::4326&FILTER=<fes:Filter xmlns:fes="http://www.opengis.net/fes/2.0">
<fes:PropertyIsEqualTo>
<fes:ValueReference>intfield</fes:ValueReference>
<fes:Literal>-1</fes:Literal>
@@ -4941,7 +4941,7 @@ def testSelectZeroFeature(self):
</wfs:FeatureCollection>""".encode('UTF-8'))

with open(sanitize(endpoint,
"""?SERVICE=WFS&REQUEST=GetFeature&VERSION=2.0.0&TYPENAMES=my:typename&COUNT=1&SRSNAME=urn:ogc:def:crs:EPSG::4326"""),
"""?SERVICE=WFS&REQUEST=GetFeature&VERSION=2.0.0&TYPENAMES=my:typename&TYPENAME=my:typename&COUNT=1&SRSNAME=urn:ogc:def:crs:EPSG::4326"""),
'wb') as f:
f.write("""
<wfs:FeatureCollection

0 comments on commit 7014682

Please sign in to comment.