X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/6d431aebb77fb80ba51feb0596accbd39ace1125..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""",