Link DEU, Deutschlandweit, the German remote regions, AMER and North America

DEU and Deutschlandweit are spellings of Germany, AMER and North America of
the United States. Seevetal and Neukirchen-Vluyn are German towns, and
Niedersachsen, Nord-, Ost- and Süddeutschland are regions of Germany named
without towns. Fleet Place Office and Solaris SE stay unlinked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Opus 5.5 committed 2026-09-30 13:22:33 +02:00
1 parent a19c528e3f
commit 5410131f4a
3 files changed
+19 -6

No files matched your search

+5 -2
View File
@@ -351,10 +351,13 @@ def test_null_columns_match_nothing_and_do_not_raise() -> None:
def test_every_region_has_names_and_towns() -> None:
assert set(REGIONS) == {"skane", "hovedstaden", "zealand", "oresund", "jutland", "funen"}
germany = {"niedersachsen", "norddeutschland", "ostdeutschland", "suddeutschland"}
assert set(REGIONS) == {"skane", "hovedstaden", "zealand", "oresund", "jutland",
"funen"} | germany
for key, region in REGIONS.items():
assert region.key == key and region.label and region.names
assert region.towns or region.includes
# Germany's are named only; its towns are found through the country.
assert region.towns or region.includes or key in germany
def test_the_bare_word_zealand_is_no_name_since_new_zealand_has_it() -> None: