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