]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/test_tokenizer_icu.py
reorganize and complete tests around generic token analysis
[nominatim.git] / test / python / test_tokenizer_icu.py
index 52cca6a7a0d31a7e20543a342088641221ecdf43..6a2f2f8bd04b405f7741aca6fbaa27cbe2ce113c 100644 (file)
@@ -169,9 +169,7 @@ def test_init_word_table(tokenizer_factory, test_config, place_row, word_table):
     tok.init_new_db(test_config)
 
     assert word_table.get_partial_words() == {('test', 1),
-                                              ('no', 1), ('area', 2),
-                                              ('holz', 1), ('strasse', 1),
-                                              ('str', 1)}
+                                              ('no', 1), ('area', 2)}
 
 
 def test_init_from_project(monkeypatch, test_config, tokenizer_factory):