From c60a0784ea80feca45221eee22f2bf49de25d8bf Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Tue, 9 Feb 2021 20:13:00 +0100 Subject: [PATCH] adapt unit tests to new directory structure --- test/python/test_cli.py | 2 ++ test/python/test_tools_exec_utils.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/test/python/test_cli.py b/test/python/test_cli.py index 334a9e78..9130ac68 100644 --- a/test/python/test_cli.py +++ b/test/python/test_cli.py @@ -26,6 +26,8 @@ def call_nominatim(*args): phplib_dir='lib-php', data_dir='.', phpcgi_path='/usr/bin/php-cgi', + sqllib_dir='lib-sql', + config_dir='settings', cli_args=args) class MockParamCapture: diff --git a/test/python/test_tools_exec_utils.py b/test/python/test_tools_exec_utils.py index ef1b46e2..283f486a 100644 --- a/test/python/test_tools_exec_utils.py +++ b/test/python/test_tools_exec_utils.py @@ -23,6 +23,8 @@ def nominatim_env(tmp_phplib_dir, def_config): phplib_dir = tmp_phplib_dir data_dir = Path('data') project_dir = Path('.') + sqllib_dir = Path('lib-sql') + config_dir = Path('settings') module_dir = 'module' osm2pgsql_path = 'osm2pgsql' -- 2.39.5