X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/0df5f77bc4c92e2f8f635105441779277435da67..5f19b23f49aee9989267ac03b488049f9d681166:/test/bdd/steps/queries.py diff --git a/test/bdd/steps/queries.py b/test/bdd/steps/queries.py index 4d59b923..76ce9810 100644 --- a/test/bdd/steps/queries.py +++ b/test/bdd/steps/queries.py @@ -71,7 +71,7 @@ class GenericResponse(object): pass elif h == 'osm': assert_equal(res['osm_type'], row[h][0]) - assert_equal(res['osm_id'], row[h][1:]) + assert_equal(res['osm_id'], int(row[h][1:])) elif h == 'centroid': x, y = row[h].split(' ') assert_almost_equal(float(y), float(res['lat']))