From c8757368e0ed30f78145c1c6356b0fb00a93c312 Mon Sep 17 00:00:00 2001 From: Taher Chegini Date: Wed, 3 Jan 2024 13:56:25 -0500 Subject: [PATCH] ENH: Address issues raised by refurb. [skip ci] --- tests/test_pygeoogc.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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