From 7f5c8a10e69b6a08344d57783e6a39fd5cafccc1 Mon Sep 17 00:00:00 2001 From: Ahmed TAHRI Date: Sun, 13 Oct 2024 20:17:09 +0200 Subject: [PATCH] fix test_h3_not_compatible_anymore as niquests automatically downgrade in case of failure --- tests/test_h2n3.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_h2n3.py b/tests/test_h2n3.py index 3f3ddd82b4..53d5cd448a 100644 --- a/tests/test_h2n3.py +++ b/tests/test_h2n3.py @@ -95,7 +95,7 @@ def test_h3_not_compatible_anymore(remote_httpbin_secure, with_quic_cache_persis tolerate_error_exit_status=True ) - assert "Unable to connect. Was the remote specified HTTP/3 compatible but is not anymore?" in r.stderr + assert "HTTP/2 200 OK" in r # with timeout r = http( @@ -106,4 +106,4 @@ def test_h3_not_compatible_anymore(remote_httpbin_secure, with_quic_cache_persis tolerate_error_exit_status=True ) - assert "Unable to connect. Was the remote specified HTTP/3 compatible but is not anymore?" in r.stderr + assert "HTTP/2 200 OK" in r