How to use the geonamescache.mappings.country_names function in geonamescache

To help you get started, we’ve selected a few geonamescache examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github yaph / geonamescache / tests / test_mappings.py View on Github external
def test_mappings(self):
        self.assertEquals(mappings.country_names['Macau'], 'Macao')
        self.assertEquals(mappings.country_names['Pitcairn Islands'], 'Pitcairn')
        self.assertEquals(mappings.country_names['Saint Barthélemy'], 'Saint Barthelemy')