Skip to content

Commit

Permalink
Fix Nominatim tests
Browse files Browse the repository at this point in the history
It looks like the OSM coverage in Asia improved.
  • Loading branch information
amotl committed Dec 5, 2022
1 parent 37ecb08 commit 5c9c882
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_nominatim.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def test_city_missing():

location = resolve_location(latitude=24.074, longitude=120.34)
improve_location(location)
assert location.address.city == "Unknown City"
assert location.address.city == "南投縣"


def test_stadtstaat():
Expand All @@ -73,7 +73,7 @@ def test_stadtstaat():
location = resolve_location(latitude=53.112, longitude=8.896)
improve_location(location)
assert location.address.suburb == "Horn-Lehe"
assert location.address.city_district == "Stadtbezirk Bremen-Ost"
assert location.address.city_district == "Bremen-Ost"
assert location.address.city == "Bremen"
assert location.address.state == "Bremen"
name = format_address(location)
Expand Down Expand Up @@ -255,4 +255,4 @@ def test_taiwan_poor():
assert location.address.country_code == "TW"
assert location.address.country == "臺灣"
name = format_address(location)
assert name == "TW"
assert name == "南投縣, 臺灣省, TW"

0 comments on commit 5c9c882

Please sign in to comment.