]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/test_tools_refresh_setup_website.py
simplify sql and website creation functions
[nominatim.git] / test / python / test_tools_refresh_setup_website.py
index 126fc561d020af781d5d6bf21bf20732152f6b19..18b146fc22b4b07b5c4696bf2f0c8a7cfea30bd6 100644 (file)
@@ -25,7 +25,8 @@ def test_script(envdir):
 
 
 def run_website_script(envdir, config):
-    refresh.setup_website(envdir, envdir / 'php', config)
+    config.lib_dir.php = envdir / 'php'
+    refresh.setup_website(envdir, config)
 
     proc = subprocess.run(['/usr/bin/env', 'php', '-Cq',
                            envdir / 'search.php'], check=False)