From: Sarah Hoffmann Date: Fri, 27 May 2016 21:36:01 +0000 (+0200) Subject: reinstate tests for geometrytype X-Git-Tag: v3.0.0~170^2~1 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/c3e21ea38880bb625009b4e58a723813b7d89cb0 reinstate tests for geometrytype --- diff --git a/tests/steps/db_results.py b/tests/steps/db_results.py index 1105ee39..53374e71 100644 --- a/tests/steps/db_results.py +++ b/tests/steps/db_results.py @@ -53,6 +53,7 @@ def check_placex_content(step, tablename): if tablename == 'location_property_osmline': q = q + ' FROM %s where osm_id = %%s' % (tablename,) else: + q = q + ", ST_GeometryType(geometry) as geometrytype" q = q + ' FROM %s where osm_type = %%s and osm_id = %%s' % (tablename,) if cls is None: if tablename == 'location_property_osmline':