| 1 |
From: Colin Watson <[email protected]> |
| 2 |
Date: Tue, 12 Nov 2024 23:47:03 +0000 |
| 3 |
Subject: Mark test_http2_probe_blocked_per_thread with requires_network |
| 4 |
|
| 5 |
It fails if it can't connect to `TARPIT_HOST`. |
| 6 |
|
| 7 |
Last-Update: 2024-11-12 |
| 8 |
--- |
| 9 |
test/with_dummyserver/test_https.py | 1 + |
| 10 |
1 file changed, 1 insertion(+) |
| 11 |
|
| 12 |
diff --git a/test/with_dummyserver/test_https.py b/test/with_dummyserver/test_https.py |
| 13 |
index 0d7d87b..fdbd8d3 100644 |
| 14 |
--- a/test/with_dummyserver/test_https.py |
| 15 |
+++ b/test/with_dummyserver/test_https.py |
| 16 |
@@ -1061,6 +1061,7 @@ class BaseTestHTTPS(HTTPSHypercornDummyServerTestCase): |
| 17 |
finally: |
| 18 |
urllib3.http2.extract_from_urllib3() |
| 19 |
|
| 20 |
+ @requires_network() |
| 21 |
def test_http2_probe_blocked_per_thread(self) -> None: |
| 22 |
state, current_thread, last_action = None, None, time.perf_counter() |
| 23 |
|