Updated GeoIP test for latest database.

This commit is contained in:
Tim Graham 2016-05-23 19:39:24 -04:00
parent 722344ee59
commit a0a1c4fbde
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ class GeoIPTest(unittest.TestCase):
fqdn = "duesseldorf.de"
if self._is_dns_available(fqdn):
d = g.city(fqdn)
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'))