From: Tareq Al-Ahdal Date: Fri, 1 Apr 2022 13:55:34 +0000 (+0800) Subject: fix reset country info before loading custom data X-Git-Tag: v4.1.0~64^2~4 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/9411c14fd221ac079c5d0977b39ef5d268f25053 fix reset country info before loading custom data --- diff --git a/test/python/tools/test_country_info.py b/test/python/tools/test_country_info.py index f0832065..2651ebd3 100644 --- a/test/python/tools/test_country_info.py +++ b/test/python/tools/test_country_info.py @@ -71,6 +71,7 @@ de: name: default: Deutschland """) + country_info._COUNTRY_INFO._info = None country_info.setup_country_config(project_env) assert country_info._COUNTRY_INFO._info == {'de': {'partition': 3, 'languages': [], 'names': {'name': {'default': 'Deutschland'}}}}