mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-10 12:04:06 +00:00
use unique function name for test step
This commit is contained in:
@@ -104,7 +104,7 @@ def api_setup_reverse(step, fmt, lat, lon):
|
|||||||
api_call('reverse')
|
api_call('reverse')
|
||||||
|
|
||||||
@step(u'looking up place ([NRW]?\d+)')
|
@step(u'looking up place ([NRW]?\d+)')
|
||||||
def api_setup_details(step, obj):
|
def api_setup_details_reverse(step, obj):
|
||||||
if obj[0] in ('N', 'R', 'W'):
|
if obj[0] in ('N', 'R', 'W'):
|
||||||
# an osm id
|
# an osm id
|
||||||
world.params['osm_type'] = obj[0]
|
world.params['osm_type'] = obj[0]
|
||||||
|
|||||||
Reference in New Issue
Block a user