]> git.openstreetmap.org Git - nominatim.git/blobdiff - tests/steps/db_results.py
reinstate tests for geometrytype
[nominatim.git] / tests / steps / db_results.py
index 1105ee39e818395223144a95f33e37fa988746c0..53374e71e463f2f92033536bf07ee1c98c31070a 100644 (file)
@@ -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':