mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-14 18:37:58 +00:00
adapt unit tests to new directory structure
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user