mirror of
https://github.com/django/django.git
synced 2025-07-21 10:09:14 +00:00
[1.8.x] Fixed GeoIP test failure with the latest data.
Backport of da2e92d25ea32a25679d99525365ac7ac8e297ee from stable/1.11.x
This commit is contained in:
parent
b248f33130
commit
299529dca6
@ -113,7 +113,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()
|
||||||
d = g.city("hs-duesseldorf.de")
|
d = g.city("messe-duesseldorf.com")
|
||||||
self.assertEqual('Düsseldorf', d['city'])
|
self.assertEqual('Düsseldorf', d['city'])
|
||||||
d = g.country('200.26.205.1')
|
d = g.country('200.26.205.1')
|
||||||
# Some databases have only unaccented countries
|
# Some databases have only unaccented countries
|
||||||
|
Loading…
x
Reference in New Issue
Block a user