curl/tests/http
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
..
testenv tests/http: fix HTTP/3 proxy pytest failures with h2o 2026-05-28 10:38:58 +02:00
.gitignore tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
CMakeLists.txt HTTP/3: add proxy CONNECT and MASQUE CONNECT-UDP support (ngtcp2 QUIC) 2026-05-27 08:49:53 +02:00
config.ini.in HTTP/3: add proxy CONNECT and MASQUE CONNECT-UDP support (ngtcp2 QUIC) 2026-05-27 08:49:53 +02:00
conftest.py tests/http: fix HTTP/3 proxy pytest failures with h2o 2026-05-28 10:38:58 +02:00
Makefile.am HTTP/3: add proxy CONNECT and MASQUE CONNECT-UDP support (ngtcp2 QUIC) 2026-05-27 08:49:53 +02:00
requirements.txt GHA: bump actions and pips 2026-05-01 21:19:22 +02:00
scorecard.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_01_basic.py tests: alphabetize and group Python imports & add check 2026-04-08 10:28:05 -07:00
test_02_download.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_03_goaway.py tests: alphabetize and group Python imports & add check 2026-04-08 10:28:05 -07:00
test_04_stuttered.py tests: alphabetize and group Python imports & add check 2026-04-08 10:28:05 -07:00
test_05_errors.py pytest: re-enable test test_05_01 and test_05_02 for quiche 0.29.0+ 2026-05-27 23:27:04 +02:00
test_06_eyeballs.py dnsd: implement HTTPS-RR with alpn pref and no-default-alpn 2026-04-16 22:53:20 +02:00
test_07_upload.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_08_caddy.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_09_push.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_10_proxy.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_11_unix.py unix-sockets: ignore proxy settings 2026-05-16 18:49:46 +02:00
test_12_reuse.py tests: alphabetize and group Python imports & add check 2026-04-08 10:28:05 -07:00
test_13_proxy_auth.py tests: alphabetize and group Python imports & add check 2026-04-08 10:28:05 -07:00
test_14_auth.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_15_tracing.py tests: alphabetize and group Python imports & add check 2026-04-08 10:28:05 -07:00
test_16_info.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_17_ssl_use.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_18_methods.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_19_shutdown.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_20_websockets.py tidy-up: miscellaneous 2026-05-27 16:53:57 +02:00
test_21_resolve.py pythonlint.sh: make it fail on error, fix ruff warnings in pytest 2026-05-13 22:59:36 +02:00
test_22_httpsrr.py pythonlint.sh: make it fail on error, fix ruff warnings in pytest 2026-05-13 22:59:36 +02:00
test_30_vsftpd.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_31_vsftpds.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_32_ftps_vsftpd.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_40_socks.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_50_scp.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_51_sftp.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_60_h3_proxy.py tests/http: fix HTTP/3 proxy pytest failures with h2o 2026-05-28 10:38:58 +02:00