def METHOD_NAME(env_with_country_config):
    config = env_with_country_config("""\
                                     es:
                                       names:
                                         name:
                                           en: Spain
                                           de: Spanien
                                           default: Espagñe
                                     us:
                                       names:
                                         short_name:
                                           default: USA
                                         name:
                                           default: United States
                                           en: United States
                                     """)
    info = country_info._CountryInfo()
    info.load(config)
    assert info.get('es')['names'] == {"name": "Espagñe",
                                       "name:en": "Spain",
                                       "name:de": "Spanien"}
    assert info.get('us')['names'] == {"name": "United States",
                                       "name:en": "United States",
                                       "short_name": "USA"}
    assert 'names' not in info.get('xx')