mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47: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',
|
phplib_dir='lib-php',
|
||||||
data_dir='.',
|
data_dir='.',
|
||||||
phpcgi_path='/usr/bin/php-cgi',
|
phpcgi_path='/usr/bin/php-cgi',
|
||||||
|
sqllib_dir='lib-sql',
|
||||||
|
config_dir='settings',
|
||||||
cli_args=args)
|
cli_args=args)
|
||||||
|
|
||||||
class MockParamCapture:
|
class MockParamCapture:
|
||||||
|
|||||||
@@ -23,6 +23,8 @@ def nominatim_env(tmp_phplib_dir, def_config):
|
|||||||
phplib_dir = tmp_phplib_dir
|
phplib_dir = tmp_phplib_dir
|
||||||
data_dir = Path('data')
|
data_dir = Path('data')
|
||||||
project_dir = Path('.')
|
project_dir = Path('.')
|
||||||
|
sqllib_dir = Path('lib-sql')
|
||||||
|
config_dir = Path('settings')
|
||||||
module_dir = 'module'
|
module_dir = 'module'
|
||||||
osm2pgsql_path = 'osm2pgsql'
|
osm2pgsql_path = 'osm2pgsql'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user