code: def test_can_specify_class_with_full_name_in_config(
      self, patched_create_connection
  ):
      mock_toml = """
  [connections.my_connection]
  type="streamlit.connections.SQLConnection"
  """
      with patch(
          "builtins.open", new_callable=mock_open, read_data=mock_toml
      ):
          connection_factory("my_connection")
  
      patched_create_connection.assert_called_once_with(
          "my_connection", SQLConnection, max_entries=None, ttl=None
      )
  
imports: import os
  import sys
  import threading
  import unittest
  from unittest.mock import MagicMock, mock_open, patch
  import pytest
  from parameterized import parameterized
  from streamlit.connections import BaseConnection, SnowflakeConnection, SnowparkConnection, SQLConnection
  from streamlit.errors import StreamlitAPIException
  from streamlit.runtime.caching.cache_resource_api import _resource_caches
  from streamlit.runtime.connection_factory import _create_connection, _get_first_party_connection, connection_factory
  from streamlit.runtime.scriptrunner import add_script_run_ctx
  from streamlit.runtime.secrets import secrets_singleton
  from tests.testutil import create_mock_script_run_ctx
label_desc: Use image node_id 9 for calling the ConnectionFactoryTest obj's underlying member method code with example usage: obj.test_can_specify_class_with_full_name_in_config(patched_create_connection) without return types