X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/35b52c46562c3dd3427da7bca898d18edfd60047..8f3845660f18bdbf2dd42dd2c6db6c7fa5160f3e:/test/python/api/test_result_formatting_v1_reverse.py diff --git a/test/python/api/test_result_formatting_v1_reverse.py b/test/python/api/test_result_formatting_v1_reverse.py index 6e94cf10..d9d43953 100644 --- a/test/python/api/test_result_formatting_v1_reverse.py +++ b/test/python/api/test_result_formatting_v1_reverse.py @@ -101,6 +101,7 @@ def test_format_reverse_with_address(fmt): rank_address=10, distance=0.0) ])) + reverse.localize(napi.Locales()) raw = api_impl.format_result(napi.ReverseResults([reverse]), fmt, {'addressdetails': True}) @@ -164,6 +165,8 @@ def test_format_reverse_geocodejson_special_parts(): distance=0.0) ])) + reverse.localize(napi.Locales()) + raw = api_impl.format_result(napi.ReverseResults([reverse]), 'geocodejson', {'addressdetails': True})