]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/bdd/steps/queries.py
replace database abstraction DB with PDO
[nominatim.git] / test / bdd / steps / queries.py
index 4d59b923ed3c39b9fee9f7556b6fe31ea7c49417..76ce9810829f61ae2fb8bbb0b9d4ec2a15ee713f 100644 (file)
@@ -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']))