]> git.openstreetmap.org Git - nominatim.git/blobdiff - tests/steps/api_setup.py
add osm2pgsql update tests
[nominatim.git] / tests / steps / api_setup.py
index b5a098fcc2023adb746ead972d49e75e653f31ce..c9a4bac476df5818df06cea9b4312a0fdc2a78c8 100644 (file)
@@ -10,6 +10,7 @@ import logging
 logger = logging.getLogger(__name__)
 
 def api_call(requesttype):
+    world.request_type = requesttype
     world.json_callback = None
     data = urllib.urlencode(world.params)
     url = "%s/%s?%s" % (world.config.base_url, requesttype, data)