]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/tokenizer/test_legacy.py
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / test / python / tokenizer / test_legacy.py
index 4addb2820582ddeba8b0fde2f5b102fded63d27a..0e46f1dc8928ebeede61714cc6f52dd495faa61c 100644 (file)
@@ -257,6 +257,13 @@ def test_update_statistics(word_table, table_factory, temp_db_cursor, tokenizer_
                                           search_name_count > 0""") > 0
 
 
                                           search_name_count > 0""") > 0
 
 
+def test_update_word_tokens(tokenizer_factory):
+    tok = tokenizer_factory()
+
+    # This is a noop and should just pass.
+    tok.update_word_tokens()
+
+
 def test_normalize(analyzer):
     assert analyzer.normalize('TEsT') == 'test'
 
 def test_normalize(analyzer):
     assert analyzer.normalize('TEsT') == 'test'