X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/7219ee653276359d4485ff8b89e1841e42af71c5..0c65289a80fb376b9d7e53653e16cef6a8fa781e:/test/bdd/steps/steps_api_queries.py diff --git a/test/bdd/steps/steps_api_queries.py b/test/bdd/steps/steps_api_queries.py index 7bf38d14..1df1d523 100644 --- a/test/bdd/steps/steps_api_queries.py +++ b/test/bdd/steps/steps_api_queries.py @@ -79,7 +79,8 @@ def send_api_query(endpoint, params, fmt, context): return asyncio.run(context.nominatim.api_engine(endpoint, params, Path(context.nominatim.website_dir.name), - context.nominatim.test_env)) + context.nominatim.test_env, + getattr(context, 'http_headers', {})))