]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/bdd/steps/steps_osm_data.py
bdd: move import tests from scenes to grid descriptions
[nominatim.git] / test / bdd / steps / steps_osm_data.py
index 6471d76d9c62e0bc67b6c56078b5b481eb909660..d6945387a808f505d7237957d7c898b0c54928e6 100644 (file)
@@ -69,7 +69,7 @@ def define_node_grid(context, grid_step, origin):
             coords = origin.split(',')
             if len(coords) != 2:
                 raise RuntimeError('Grid origin expects orgin with x,y coordinates.')
-            origin(float(coords[0]), float(coords[1]))
+            origin = (float(coords[0]), float(coords[1]))
         elif origin in ALIASES:
             origin = ALIASES[origin]
         else: