X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/72b01148d2d12f71c12440c15fa078b55e1c8f86..a33f2c0f5ba43df533b6e137f9151fe67feb20a1:/test/python/test_tools_refresh_setup_website.py diff --git a/test/python/test_tools_refresh_setup_website.py b/test/python/test_tools_refresh_setup_website.py index 126fc561..dc822e3c 100644 --- a/test/python/test_tools_refresh_setup_website.py +++ b/test/python/test_tools_refresh_setup_website.py @@ -25,7 +25,9 @@ def test_script(envdir): def run_website_script(envdir, config): - refresh.setup_website(envdir, envdir / 'php', config) + config.lib_dir.php = envdir / 'php' + config.project_dir = envdir + refresh.setup_website(envdir, config) proc = subprocess.run(['/usr/bin/env', 'php', '-Cq', envdir / 'search.php'], check=False)