commit | author | age
|
2f86e0
|
1 |
--- yt_dlp-2024.3.10/test/test_networking.py.orig |
MT |
2 |
+++ yt_dlp-2024.3.10/test/test_networking.py |
|
3 |
@@ -544,6 +544,7 @@ |
be74f4
|
4 |
rh, Request(f'http://127.0.0.1:{self.http_port}/timeout_1', extensions={'timeout': 4})) |
MT |
5 |
|
|
6 |
@pytest.mark.parametrize('handler', ['Urllib', 'Requests'], indirect=True) |
a13753
|
7 |
+ @pytest.mark.skip(reason="always fails: https://github.com/yt-dlp/yt-dlp/issues/8890") |
be74f4
|
8 |
def test_source_address(self, handler): |
MT |
9 |
source_address = f'127.0.0.{random.randint(5, 255)}' |
2f86e0
|
10 |
# on some systems these loopback addresses we need for testing may not be available |
MT |
11 |
--- yt_dlp-2024.3.10/test/test_socks.py.orig |
|
12 |
+++ yt_dlp-2024.3.10/test/test_socks.py |
a13753
|
13 |
@@ -323,6 +323,7 @@ |
be74f4
|
14 |
assert response['domain_address'] == 'localhost' |
MT |
15 |
|
a13753
|
16 |
@pytest.mark.parametrize('handler,ctx', [('Urllib', 'http'), ('Requests', 'http'), ('Websockets', 'ws')], indirect=True) |
MT |
17 |
+ @pytest.mark.skip(reason="always fails: https://github.com/yt-dlp/yt-dlp/issues/8890") |
be74f4
|
18 |
def test_ipv4_client_source_address(self, handler, ctx): |
MT |
19 |
with ctx.socks_server(Socks4ProxyHandler) as server_address: |
|
20 |
source_address = f'127.0.0.{random.randint(5, 255)}' |
2f86e0
|
21 |
@@ -439,6 +440,7 @@ |
be74f4
|
22 |
# XXX: is there any feasible way of testing IPv6 source addresses? |
MT |
23 |
# Same would go for non-proxy source_address test... |
a13753
|
24 |
@pytest.mark.parametrize('handler,ctx', [('Urllib', 'http'), ('Requests', 'http'), ('Websockets', 'ws')], indirect=True) |
MT |
25 |
+ @pytest.mark.skip(reason="always fails: https://github.com/yt-dlp/yt-dlp/issues/8890") |
be74f4
|
26 |
def test_ipv4_client_source_address(self, handler, ctx): |
MT |
27 |
with ctx.socks_server(Socks5ProxyHandler) as server_address: |
|
28 |
source_address = f'127.0.0.{random.randint(5, 255)}' |
2f86e0
|
29 |
--- yt_dlp-2024.3.10/test/test_websockets.py.orig |
MT |
30 |
+++ yt_dlp-2024.3.10/test/test_websockets.py |
|
31 |
@@ -227,6 +227,7 @@ |
a13753
|
32 |
ws.close() |
MT |
33 |
|
|
34 |
@pytest.mark.parametrize('handler', ['Websockets'], indirect=True) |
|
35 |
+ @pytest.mark.skip(reason="always fails: https://github.com/yt-dlp/yt-dlp/issues/8890") |
|
36 |
def test_source_address(self, handler): |
|
37 |
source_address = f'127.0.0.{random.randint(5, 255)}' |
2f86e0
|
38 |
verify_address_availability(source_address) |