Skip to content

Commit

Permalink
[1.8.x] Fixed GeoIP test failure with the latest data.
Browse files Browse the repository at this point in the history
  • Loading branch information
timgraham committed Jan 8, 2018
1 parent e0b3681 commit d92f899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/gis_tests/test_geoip.py
Expand Up @@ -114,7 +114,7 @@ def test05_unicode_response(self):
"Testing that GeoIP strings are properly encoded, see #16553."
g = GeoIP()
d = g.city("messe-duesseldorf.com")
self.assertEqual('Düsseldorf', d['city'])
self.assertEqual('Essen', d['city'])
d = g.country('200.26.205.1')
# Some databases have only unaccented countries
self.assertIn(d['country_name'], ('Curaçao', 'Curacao'))

0 comments on commit d92f899

Please sign in to comment.