diff --git a/tests/test_pygeoogc.py b/tests/test_pygeoogc.py index 405d37c..fd02d90 100644 --- a/tests/test_pygeoogc.py +++ b/tests/test_pygeoogc.py @@ -261,14 +261,13 @@ def test_byfilter(self): def test_wfs110(self): """WFS 1.1.0 by geom.""" - wfs = WFS( + resp = WFS( ServiceURL().wfs.waterdata, layer="wmadata:gagesii", outformat="json", version="1.1.0", crs=ALT_CRS, - ) - resp = wfs.getfeature_bygeom(GEO_URB, geo_crs=DEF_CRS, always_xy=False) + ).getfeature_bygeom(GEO_URB, geo_crs=DEF_CRS, always_xy=False) assert len(resp[0]["features"]) == 7