X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/f8bca4fbcb739daa6a89dd52c219713dd1173287..2171b385519841af0e175d88e51741c5322fba25:/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})