mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
more API tests (mostly for user errors)
This commit is contained in:
@@ -349,7 +349,7 @@ def website_search_request(context, fmt, query, addr):
|
||||
|
||||
context.response = SearchResponse(outp, outfmt, status)
|
||||
|
||||
@when(u'sending (?P<fmt>\S+ )?reverse coordinates (?P<lat>[0-9.-]+)?,(?P<lon>[0-9.-]+)?')
|
||||
@when(u'sending (?P<fmt>\S+ )?reverse coordinates (?P<lat>.+)?,(?P<lon>.+)?')
|
||||
def website_reverse_request(context, fmt, lat, lon):
|
||||
params = {}
|
||||
if lat is not None:
|
||||
|
||||
Reference in New Issue
Block a user