Codebase list aioftp / 8e883ec
Update patch for 0.18.1 release Adam Cecile 3 years ago
1 changed file(s) with 12 addition(s) and 11 deletion(s). Raw diff Collapse all Expand all
77 tests/test_client_side_socks.py | 4 +++-
88 2 files changed, 8 insertions(+), 2 deletions(-)
99
10 diff --git a/tests/conftest.py b/tests/conftest.py
11 index f257b99..62ba002 100644
12 --- a/tests/conftest.py
13 +++ b/tests/conftest.py
10 Index: aioftp/tests/conftest.py
11 ===================================================================
12 --- aioftp.orig/tests/conftest.py
13 +++ aioftp/tests/conftest.py
1414 @@ -14,7 +14,11 @@ import trustme
1515 from async_timeout import timeout
1616
2424
2525
2626 # No ssl tests since https://bugs.python.org/issue36098
27 diff --git a/tests/test_client_side_socks.py b/tests/test_client_side_socks.py
28 index 073b2f1..e1a4976 100644
29 --- a/tests/test_client_side_socks.py
30 +++ b/tests/test_client_side_socks.py
31 @@ -1,6 +1,7 @@
27 Index: aioftp/tests/test_client_side_socks.py
28 ===================================================================
29 --- aioftp.orig/tests/test_client_side_socks.py
30 +++ aioftp/tests/test_client_side_socks.py
31 @@ -1,7 +1,9 @@
3232 import pytest
33 from siosocks.exceptions import SocksException
3334 +from conftest import HAS_SIOSOCKS
3435
35 -
36
3637 +@pytest.mark.skipif(not HAS_SIOSOCKS, reason="requires siosocks package")
3738 @pytest.mark.asyncio
3839 async def test_socks_success(pair_factory, Client, socks):
3940 client = Client(socks_host=socks.host, socks_port=socks.port,
40 @@ -9,6 +10,7 @@ async def test_socks_success(pair_factory, Client, socks):
41 @@ -10,6 +12,7 @@ async def test_socks_success(pair_factor
4142 pass
4243
4344