]> git.openstreetmap.org Git - nominatim.git/commitdiff
use unique function name for test step
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 29 Oct 2014 19:37:56 +0000 (20:37 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 29 Oct 2014 19:37:56 +0000 (20:37 +0100)
tests/steps/api_setup.py

index dc39a3bc9069d4e071bc8991ef8896cfbc48475b..ab08009654da3b768536d2efa8b6522533f08c4d 100644 (file)
@@ -104,7 +104,7 @@ def api_setup_reverse(step, fmt, lat, lon):
     api_call('reverse')
 
 @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'):
         # an osm id
         world.params['osm_type']  = obj[0]