X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/b90e719da595b6760b39b7cd64ee29447de2d5e8..3a8ddf736edf4d2fc1d772179600417adc357bbb:/test/python/indexer/test_indexing.py?ds=sidebyside diff --git a/test/python/indexer/test_indexing.py b/test/python/indexer/test_indexing.py index 4c9d940d..e303f381 100644 --- a/test/python/indexer/test_indexing.py +++ b/test/python/indexer/test_indexing.py @@ -1,3 +1,9 @@ +# SPDX-License-Identifier: GPL-2.0-only +# +# This file is part of Nominatim. (https://nominatim.org) +# +# Copyright (C) 2022 by the Nominatim developer community. +# For a full list of authors see the git log. """ Tests for running the indexing. """ @@ -145,9 +151,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])