X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/62828fc5c11a1c332e18206b181b84928980319b..b9fbfeff67b420905a4176f4f5e9312746d0c42e:/test/python/test_tokenizer_legacy_icu.py diff --git a/test/python/test_tokenizer_legacy_icu.py b/test/python/test_tokenizer_legacy_icu.py index 56c08e5a..39fc9fb4 100644 --- a/test/python/test_tokenizer_legacy_icu.py +++ b/test/python/test_tokenizer_legacy_icu.py @@ -150,9 +150,8 @@ def test_init_word_table(tokenizer_factory, test_config, place_row, word_table): tok = tokenizer_factory() tok.init_new_db(test_config) - assert word_table.get_partial_words() == {('test', 1), ('52', 1), + assert word_table.get_partial_words() == {('test', 1), ('no', 1), ('area', 2), - ('holzstrasse', 1), ('holzstr', 1), ('holz', 1), ('strasse', 1), ('str', 1)}