[1.8.x] Fixed GeoIP test failure with the latest data.
Backport of da2e92d25e
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):
|
||||
"Testing that GeoIP strings are properly encoded, see #16553."
|
||||
g = GeoIP()
|
||||
d = g.city("hs-duesseldorf.de")
|
||||
d = g.city("messe-duesseldorf.com")
|
||||
self.assertEqual('Düsseldorf', d['city'])
|
||||
d = g.country('200.26.205.1')
|
||||
# Some databases have only unaccented countries
|
||||
|
|
Loading…
Reference in New Issue