[1.8.x] Updated GeoIP test for latest database.

Backport of a0a1c4fbde from master
This commit is contained in:
Tim Graham 2016-05-23 20:49:33 -04:00
parent e06bbf8fc3
commit 72da26af41
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ class GeoIPTest(unittest.TestCase):
"Testing that GeoIP strings are properly encoded, see #16553."
g = GeoIP()
d = g.city("duesseldorf.de")
self.assertEqual('Düsseldorf', d['city'])
self.assertEqual('Ratingen', d['city'])
d = g.country('200.26.205.1')
# Some databases have only unaccented countries
self.assertIn(d['country_name'], ('Curaçao', 'Curacao'))