Skip to content

Commit

Permalink
fix test_h3_not_compatible_anymore as niquests automatically downgrad…
Browse files Browse the repository at this point in the history
…e in case of failure
  • Loading branch information
Ousret committed Oct 13, 2024
1 parent 03bac4d commit 7f5c8a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_h2n3.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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

0 comments on commit 7f5c8a1

Please sign in to comment.