fix reset country info before loading custom data

This commit is contained in:
Tareq Al-Ahdal 2022-04-01 21:55:34 +08:00
parent 8525e7542f
commit 9411c14fd2

View File

@ -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'}}}}