summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-09-10 13:14:48 -0400
committerTim Graham <timograham@gmail.com>2015-09-10 20:54:25 -0400
commitd3c92afe426c1e0a2223bb0296162dff4d1af585 (patch)
tree7099722249b7e43865d657f6302dc7c73f411be1
parentdfced0921c11f4ab9df8b036761b8965595e4416 (diff)
Fixed a GeoIP2 test failure with the latest GeoIP2 database.
Düsseldorf now appears as Dusseldorf in the latest version of the GeoIP2 database.
-rw-r--r--tests/gis_tests/test_geoip2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gis_tests/test_geoip2.py b/tests/gis_tests/test_geoip2.py
index 71824c3916..290fb3509c 100644
--- a/tests/gis_tests/test_geoip2.py
+++ b/tests/gis_tests/test_geoip2.py
@@ -124,8 +124,8 @@ class GeoIPTest(unittest.TestCase):
def test05_unicode_response(self):
"GeoIP strings should be properly encoded (#16553)."
g = GeoIP2()
- d = g.city("duesseldorf.de")
- self.assertEqual('Düsseldorf', d['city'])
+ d = g.city("nigde.edu.tr")
+ self.assertEqual('Niğde', d['city'])
d = g.country('200.26.205.1')
# Some databases have only unaccented countries
self.assertIn(d['country_name'], ('Curaçao', 'Curacao'))