1
0
mirror of https://github.com/django/django.git synced 2025-07-21 10:09:14 +00:00

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

Backport of da2e92d25ea32a25679d99525365ac7ac8e297ee from stable/1.11.x
This commit is contained in:
Tim Graham 2017-02-14 09:05:55 -05:00
parent 39fe2713ff
commit 740cdbea04

View File

@ -134,7 +134,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'])