adapt tests to new country token format

This commit is contained in:
Sarah Hoffmann
2025-11-27 16:05:49 +01:00
parent 81c6cb72e6
commit 9447c90b09
5 changed files with 11 additions and 2 deletions

View File

@@ -405,7 +405,7 @@ class TestPlaceNames:
info = self.analyzer.process_place(place)
self.expect_name_terms(info, '#norge', 'norge')
assert word_table.get_country() == {('no', 'NORGE')}
assert word_table.get_country() == {('no', 'NORGE', 'Norge')}
class TestPlaceAddress: