code: def test_throws_friendly_error_if_no_config_set(self):
      with pytest.raises(StreamlitAPIException) as e:
          SnowflakeConnection("snowflake")
  
      assert "Missing Snowflake connection configuration." in str(
          e.value
      )
  
imports: import threading
  import unittest
  from unittest.mock import MagicMock, PropertyMock, patch
  import pytest
  import streamlit
  from streamlit.connections import SnowflakeConnection
  from streamlit.errors import StreamlitAPIException
  from streamlit.runtime.scriptrunner import add_script_run_ctx
  from streamlit.runtime.secrets import AttrDict
  from tests.testutil import create_mock_script_run_ctx
label_desc: Use image node_id 6 for calling the SnowflakeConnectionTest obj's underlying member method code with example usage: obj.test_throws_friendly_error_if_no_config_set() without return types