curl/tests/http/testenv
Aritra Basu 91facd7bb3
tests/http: fix HTTP/3 proxy pytest failures with h2o
Fix pytest failures in HTTP/3 proxy tests when h2o is not installed,
misconfigured, or fails to start at runtime.

This prevents:
- FileNotFoundError when h2o document root does not exist
- Fixture setup errors when h2o is configured but cannot start
- Unused test data file creation when h2o is absent or broken
- CI aborts on systems where h2o exists but is not runnable

Bug: https://github.com/curl/curl/pull/21789#issuecomment-4559098879
Bug: https://github.com/curl/curl/pull/21789#issuecomment-4559161907

Follow-up to e78b1b3ecc #21153

Closes #21791
2026-05-28 10:38:58 +02:00
..
mod_curltest pytest: check 429 handling 2026-04-17 22:17:50 +02:00
__init__.py pytest: adding support for dnsd test server 2026-04-10 14:29:29 +02:00
caddy.py tests: alphabetize and group Python imports & add check 2026-04-08 10:28:05 -07:00
certs.py tests: alphabetize and group Python imports & add check 2026-04-08 10:28:05 -07:00
client.py tests: alphabetize and group Python imports & add check 2026-04-08 10:28:05 -07:00
curl.py HTTP/3: add proxy CONNECT and MASQUE CONNECT-UDP support (ngtcp2 QUIC) 2026-05-27 08:49:53 +02:00
dante.py tests: alphabetize and group Python imports & add check 2026-04-08 10:28:05 -07:00
dnsd.py dnsd: implement HTTPS-RR with alpn pref and no-default-alpn 2026-04-16 22:53:20 +02:00
env.py tests/http: fix HTTP/3 proxy pytest failures with h2o 2026-05-28 10:38:58 +02:00
h2o.py tests/http: fix HTTP/3 proxy pytest failures with h2o 2026-05-28 10:38:58 +02:00
httpd.py pytest: check 429 handling 2026-04-17 22:17:50 +02:00
nghttpx.py tests: alphabetize and group Python imports & add check 2026-04-08 10:28:05 -07:00
ports.py pytest: bind to localhost 2025-09-10 00:55:07 +02:00
sshd.py tests: alphabetize and group Python imports & add check 2026-04-08 10:28:05 -07:00
vsftpd.py tests: alphabetize and group Python imports & add check 2026-04-08 10:28:05 -07:00
ws_echo_server.py tests: change Python code style to pass ruff checks 2024-10-04 14:02:05 -07:00