phplib_dir='lib-php',
data_dir='.',
phpcgi_path='/usr/bin/php-cgi',
+ sqllib_dir='lib-sql',
+ config_dir='settings',
cli_args=args)
class MockParamCapture:
assert mock_run_legacy.called == 1
@pytest.mark.parametrize("func, params", [('analyse_indexing', ('--analyse-indexing', ))])
-def test_admin_command_tool(monkeypatch, func, params):
+def test_admin_command_tool(temp_db, monkeypatch, func, params):
mock = MockParamCapture()
monkeypatch.setattr(nominatim.tools.admin, func, mock)