diff options
| author | Tim Graham <timograham@gmail.com> | 2016-08-03 11:08:30 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-08-03 11:16:15 -0400 |
| commit | 348406c381f8f574bcc4c74c62279060010ae35f (patch) | |
| tree | 12af2bdaa97dfbc35d184e0472268da3573f5c34 | |
| parent | 86ae2b22ae2b0e11a4f20785afd5c475a94e59a7 (diff) | |
[1.10.x] Fixed a GeoIP test failure with the latest data.
Backport of 4a696bbe13383b14b2762cc5accd45849e9dcfba from master
| -rw-r--r-- | tests/gis_tests/test_geoip.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gis_tests/test_geoip.py b/tests/gis_tests/test_geoip.py index 8b573b7b05..fc1b8450f3 100644 --- a/tests/gis_tests/test_geoip.py +++ b/tests/gis_tests/test_geoip.py @@ -142,10 +142,10 @@ class GeoIPTest(unittest.TestCase): def test05_unicode_response(self): "Testing that GeoIP strings are properly encoded, see #16553." g = GeoIP() - fqdn = "duesseldorf.de" + fqdn = "hs-duesseldorf.de" if self._is_dns_available(fqdn): d = g.city(fqdn) - self.assertEqual('Ratingen', d['city']) + self.assertEqual('Düsseldorf', d['city']) d = g.country('200.26.205.1') # Some databases have only unaccented countries self.assertIn(d['country_name'], ('Curaçao', 'Curacao')) |
