mirror of https://github.com/django/django.git
[1.10.x] Fixed GeoIP test failure with the latest data.
Backport of da2e92d25e
from stable/1.11.x
This commit is contained in:
parent
5044d18e1f
commit
3b562ebfe6
|
@ -142,7 +142,7 @@ class GeoIPTest(unittest.TestCase):
|
||||||
def test05_unicode_response(self):
|
def test05_unicode_response(self):
|
||||||
"Testing that GeoIP strings are properly encoded, see #16553."
|
"Testing that GeoIP strings are properly encoded, see #16553."
|
||||||
g = GeoIP()
|
g = GeoIP()
|
||||||
fqdn = "hs-duesseldorf.de"
|
fqdn = "messe-duesseldorf.com"
|
||||||
if self._is_dns_available(fqdn):
|
if self._is_dns_available(fqdn):
|
||||||
d = g.city(fqdn)
|
d = g.city(fqdn)
|
||||||
self.assertEqual('Düsseldorf', d['city'])
|
self.assertEqual('Düsseldorf', d['city'])
|
||||||
|
|
Loading…
Reference in New Issue