diff --git a/src/ref_geo/tests/test_ref_geo.py b/src/ref_geo/tests/test_ref_geo.py index b82f3f3..8e816f4 100644 --- a/src/ref_geo/tests/test_ref_geo.py +++ b/src/ref_geo/tests/test_ref_geo.py @@ -303,7 +303,7 @@ def test_get_areas_as_geojson(self, area_commune): """ type_code = area_commune.type_code id_type = area_commune.id_type - first_comm = db.session.scalars(db.select(LAreas).where(LAreas.id_type == id_type)).first() + first_comm = db.session.scalars(select(LAreas).where(LAreas.id_type == id_type)).first() # will test many responses are return response = self.client.get( url_for("ref_geo.get_areas"),