code: def test_uses_streamlit_secrets_if_available(self, patched_connect):
      SnowflakeConnection("my_snowflake_connection")
      patched_connect.assert_called_once_with(
          account="some_val_1", some_key="some_val_2"
      )
  
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 3 for calling the SnowflakeConnectionTest obj's underlying member method code with example usage: obj.test_uses_streamlit_secrets_if_available(patched_connect) without return types