]> git.openstreetmap.org Git - nominatim.git/commitdiff
adapt unit tests to new directory structure
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 9 Feb 2021 19:13:00 +0000 (20:13 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 9 Feb 2021 19:13:00 +0000 (20:13 +0100)
test/python/test_cli.py
test/python/test_tools_exec_utils.py

index 334a9e78985773e174b1be9decb4faf37347d1e4..9130ac686ba4d4cb2996735441819dd4206a9917 100644 (file)
@@ -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:
index ef1b46e286b9d9b7ac9383751c017a575a0b7dc4..283f486a9367fe40ac59aad79a628886d9c8a877 100644 (file)
@@ -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'