]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/cli/conftest.py
Merge pull request #2761 from lonvia/repair-index-analysis
[nominatim.git] / test / python / cli / conftest.py
index ea45f2a105ddbfb57ad46afc86a0cbe155e15805..420740cfc65568abf9b2dae1a53e3245ae6a434d 100644 (file)
@@ -30,6 +30,7 @@ class DummyTokenizer:
         self.update_sql_functions_called = False
         self.finalize_import_called = False
         self.update_statistics_called = False
+        self.update_word_tokens_called = False
 
     def update_sql_functions(self, *args):
         self.update_sql_functions_called = True
@@ -40,6 +41,9 @@ class DummyTokenizer:
     def update_statistics(self):
         self.update_statistics_called = True
 
+    def update_word_tokens(self):
+        self.update_word_tokens_called = True
+
 
 @pytest.fixture
 def cli_call(src_dir):