]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/indexer/test_indexing.py
php test: class must be called like the file
[nominatim.git] / test / python / indexer / test_indexing.py
index 4c9d940d09b1c2a0a0cddbe78383c34c9251af53..9adf969e4e427823fb2427c8933505c17f7b21e2 100644 (file)
@@ -145,9 +145,8 @@ def test_db(temp_db_conn):
 
 
 @pytest.fixture
-def test_tokenizer(tokenizer_mock, def_config, tmp_path):
-    def_config.project_dir = tmp_path
-    return factory.create_tokenizer(def_config)
+def test_tokenizer(tokenizer_mock, project_env):
+    return factory.create_tokenizer(project_env)
 
 
 @pytest.mark.parametrize("threads", [1, 15])