From c28d9b842d83ef2f806cc96da699eaf8655aa395 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Otto?= Date: Tue, 12 Nov 2024 23:25:25 +0100 Subject: [PATCH] debug --- bin/run_tests.sh | 2 +- test/acceptance/server.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/run_tests.sh b/bin/run_tests.sh index cac90cc..40a62d1 100755 --- a/bin/run_tests.sh +++ b/bin/run_tests.sh @@ -5,6 +5,7 @@ set -e SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) cd "$SCRIPT_DIR/.." +PYTHONPATH=. ./test/acceptance/server.py ./bin/check_readme.py @@ -14,4 +15,3 @@ coverage run \ PYTHONPATH=. ./test/acceptance/file.py PYTHONPATH=. ./test/acceptance/generate.py -PYTHONPATH=. ./test/acceptance/server.py diff --git a/test/acceptance/server.py b/test/acceptance/server.py index 34cd5f8..3d3b6dd 100755 --- a/test/acceptance/server.py +++ b/test/acceptance/server.py @@ -20,6 +20,8 @@ print(f"Copy '{test_data_dir}' to '{runner_temp}'") shutil.copytree(test_data_dir, runner_temp) test_data_dir = runner_temp +print(f"test_data_dir={test_data_dir}") + def wait_for_server(url: str, max_tries=10): for _ in range(max_tries):