]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/test_tokenizer_legacy.py
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / test / python / test_tokenizer_legacy.py
index 2545c2db5952e59eaccca1f26f581d713ad2a601..53d45c1c93a0f44f375ab11b675902497789b73e 100644 (file)
@@ -132,10 +132,10 @@ def test_init_module_custom(tokenizer_factory, test_config,
     assert not (test_config.project_dir / 'module').exists()
 
 
-def test_init_from_project(tokenizer_setup, tokenizer_factory):
+def test_init_from_project(tokenizer_setup, tokenizer_factory, test_config):
     tok = tokenizer_factory()
 
-    tok.init_from_project()
+    tok.init_from_project(test_config)
 
     assert tok.normalization is not None