X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/ab997b7fb1f8b082d5f9af0adb01b70554cb9c3a..44292713c6e11bbf09079c7c910f9f819776300a:/test/bdd/steps/db_ops.py?ds=sidebyside 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""",