class_docstr: Tests for SSL connections
  
  This relies on the --redis-ssl-url purely for rebuilding the client
  and connecting to the appropriate port.
code: def test_ssl_with_invalid_cert(self, request):
      ssl_url = request.config.option.redis_ssl_url
      sslclient = redis.from_url(ssl_url)
      with pytest.raises(ConnectionError) as e:
          sslclient.ping()
          assert "SSL: CERTIFICATE_VERIFY_FAILED" in str(e)
  
imports: import socket
  import ssl
  from urllib.parse import urlparse
  import pytest
  import redis
  from redis.exceptions import ConnectionError, RedisError
  from .conftest import skip_if_cryptography, skip_if_nocryptography
  from .ssl_utils import get_ssl_filename
label_desc: Use image node_id 1 for calling the TestSSL obj's underlying member method code with example usage: obj.test_ssl_with_invalid_cert(request) without return types