adapt unit tests to new directory structure

This commit is contained in:
Sarah Hoffmann
2021-02-09 20:13:00 +01:00
parent 3cb6f3e460
commit c60a0784ea
2 changed files with 4 additions and 0 deletions

View 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:

View 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'