import pytest
-from nominatim.config import Configuration
import nominatim.tools.exec_utils as exec_utils
@pytest.fixture
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('.')