diff --git a/tests/test_live.py b/tests/test_live.py index 3a1ef3a694..71062b8a23 100644 --- a/tests/test_live.py +++ b/tests/test_live.py @@ -129,6 +129,7 @@ def callback_on_early(early_resp) -> None: assert resp.status_code == 200 assert received_early_response is True + @pytest.mark.skipif(qh3 is None, reason="qh3 unavailable") def test_preemptive_add_http3_domain(self) -> None: with Session() as s: s.quic_cache_layer.add_domain("one.one.one.one") @@ -137,6 +138,7 @@ def test_preemptive_add_http3_domain(self) -> None: assert resp.http_version == 30 + @pytest.mark.skipif(qh3 is None, reason="qh3 unavailable") def test_preemptive_add_http3_domain_wrong_port(self) -> None: with Session() as s: s.quic_cache_layer.add_domain("one.one.one.one", 6666) @@ -145,6 +147,7 @@ def test_preemptive_add_http3_domain_wrong_port(self) -> None: assert resp.http_version == 20 + @pytest.mark.skipif(qh3 is None, reason="qh3 unavailable") def test_preemptive_exclude_http3_domain(self) -> None: with Session() as s: s.quic_cache_layer.exclude_domain("one.one.one.one")