X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/b4f9252c63926817444d69dd8a4a32b6267db305..7c8c206818266f40d2447e9b4c1b059c1139b152:/tests/steps/api_result.py diff --git a/tests/steps/api_result.py b/tests/steps/api_result.py index e86641fc..17d5e4eb 100644 --- a/tests/steps/api_result.py +++ b/tests/steps/api_result.py @@ -27,7 +27,7 @@ def _parse_xml(): world.results = [] # results - if page.nodeName == 'searchresults': + if page.nodeName == 'searchresults' or page.nodeName == 'lookupresults': for node in page.childNodes: if node.nodeName != "#text": assert_equals(node.nodeName, 'place', msg="Unexpected element '%s'" % node.nodeName)