]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/bdd/steps/steps_api_queries.py
Merge pull request #2970 from lonvia/add-details-endpoint
[nominatim.git] / test / bdd / steps / steps_api_queries.py
index 7bf38d14526f13f3e9273e3c795a01f16700f110..1df1d523375665c7b1d1274b22c19610c8f7d09d 100644 (file)
@@ -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),
 
     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', {})))