From 9411c14fd221ac079c5d0977b39ef5d268f25053 Mon Sep 17 00:00:00 2001 From: Tareq Al-Ahdal Date: Fri, 1 Apr 2022 21:55:34 +0800 Subject: [PATCH] fix reset country info before loading custom data --- test/python/tools/test_country_info.py | 1 + 1 file changed, 1 insertion(+) 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'}}}} -- 2.39.5