diff --git a/tests/test_asyncio/test_connection_pool.py b/tests/test_asyncio/test_connection_pool.py index 3d397492..2b7813fe 100644 --- a/tests/test_asyncio/test_connection_pool.py +++ b/tests/test_asyncio/test_connection_pool.py @@ -7,6 +7,7 @@ from tests.conftest import skip_if_server_version_lt from valkey._parsers.url_parser import to_bool from valkey.asyncio.connection import Connection +from valkey.utils import SSL_AVAILABLE from .compat import aclosing, mock from .conftest import asynccontextmanager @@ -542,6 +543,7 @@ def test_extra_querystring_options(self): assert pool.connection_kwargs == {"path": "/socket", "a": "1", "b": "2"} +@pytest.mark.skipif(not SSL_AVAILABLE, reason="SSL not installed") class TestSSLConnectionURLParsing: def test_host(self): pool = valkey.ConnectionPool.from_url("valkeys://my.host")