adapt tests to ranking changes

This commit is contained in:
Sarah Hoffmann
2020-09-01 18:03:17 +02:00
parent 07430b0194
commit b6078de6f8
4 changed files with 15 additions and 12 deletions

View File

@@ -110,6 +110,9 @@ class PlaceObjName(object):
if self.pid is None:
return "<null>"
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""",