1
0
mirror of https://github.com/django/django.git synced 2025-04-14 12:24:36 +00:00

[1.11.x] Fixed GeoIP test failure with the latest data.

This commit is contained in:
Tim Graham 2017-02-14 09:05:55 -05:00
parent 8bf9967e7b
commit da2e92d25e

View File

@ -142,7 +142,7 @@ class GeoIPTest(unittest.TestCase):
def test05_unicode_response(self):
"Testing that GeoIP strings are properly encoded, see #16553."
g = GeoIP()
fqdn = "hs-duesseldorf.de"
fqdn = "messe-duesseldorf.com"
if self._is_dns_available(fqdn):
d = g.city(fqdn)
self.assertEqual('Düsseldorf', d['city'])