X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/6d0ab4480086a20d6c19e0c9ca5df944be3c1a23..21c590416854b1245866b96772fde61050c0e01a:/tests/steps/terrain.py diff --git a/tests/steps/terrain.py b/tests/steps/terrain.py index 746485ac..e9561d1a 100644 --- a/tests/steps/terrain.py +++ b/tests/steps/terrain.py @@ -94,7 +94,7 @@ def get_placeid(oid): q = 'SELECT place_id FROM placex where osm_type = %s and osm_id = %s and class = %s' params = (osmtype, osmid, cls) cur.execute(q, params) - assert_equals (cur.rowcount, 1) + assert_equals(cur.rowcount, 1, "%d rows found for place %s" % (cur.rowcount, oid)) return cur.fetchone()[0]