]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/bdd/steps/queries.py
lookup endpoint supports jsonv2 and geocodejson output now
[nominatim.git] / test / bdd / steps / queries.py
index 76ce9810829f61ae2fb8bbb0b9d4ec2a15ee713f..3f0cffffb74cee1bc66414745a712bc8d36c1665 100644 (file)
@@ -455,8 +455,12 @@ def website_lookup_request(context, fmt, query):
 
     if fmt == 'json ':
         outfmt = 'json'
+    elif fmt == 'jsonv2 ':
+        outfmt = 'json'
     elif fmt == 'geojson ':
         outfmt = 'geojson'
+    elif fmt == 'geocodejson ':
+        outfmt = 'geocodejson'
     else:
         outfmt = 'xml'