X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/ab997b7fb1f8b082d5f9af0adb01b70554cb9c3a..731c620e314e61a958f99a14556983e73ed914be:/test/bdd/steps/db_ops.py diff --git a/test/bdd/steps/db_ops.py b/test/bdd/steps/db_ops.py index f4c485fd..9604fd10 100644 --- a/test/bdd/steps/db_ops.py +++ b/test/bdd/steps/db_ops.py @@ -110,6 +110,9 @@ class PlaceObjName(object): if self.pid is None: return "" + if self.pid == 0: + return "place ID 0" + cur = self.conn.cursor() cur.execute("""SELECT osm_type, osm_id, class FROM placex WHERE place_id = %s""",