X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/2c909c1f0c7c6e6a176eb5cc15e8d6a45449ebe8..5b46fcad8ec166d1b8e35cfbc58405b71e27caa3:/test/python/test_tools_exec_utils.py diff --git a/test/python/test_tools_exec_utils.py b/test/python/test_tools_exec_utils.py index d9f80740..a4eef61f 100644 --- a/test/python/test_tools_exec_utils.py +++ b/test/python/test_tools_exec_utils.py @@ -7,7 +7,6 @@ import tempfile import pytest -from nominatim.config import Configuration import nominatim.tools.exec_utils as exec_utils @pytest.fixture @@ -18,9 +17,9 @@ def tmp_phplib_dir(): yield Path(phpdir) @pytest.fixture -def nominatim_env(tmp_phplib_dir): +def nominatim_env(tmp_phplib_dir, def_config): class _NominatimEnv: - config = Configuration(None, Path(__file__) / '..' / '..' / '..' / 'settings') + config = def_config phplib_dir = tmp_phplib_dir data_dir = Path('data') project_dir = Path('.')