test: keep webui CI hermetic offline

This commit is contained in:
2026-07-09 11:59:23 -04:00
parent 23535e30bc
commit 64b83cd1fb
8 changed files with 138 additions and 18 deletions
+2 -1
View File
@@ -10,4 +10,5 @@ if [[ -x "$repo_root/venv/bin/python" ]]; then
fi
pattern="${WEBUI_TEST_PATTERN:-test_webui_*.py}"
exec "$python_bin" -m unittest discover -s tests -p "$pattern" "$@"
export WEBUI_TEST_OFFLINE="${WEBUI_TEST_OFFLINE:-1}"
exec "$python_bin" -m unittest discover -s tests -p "$pattern" "$@"