code: def test_load_from_snowsql_config_file_named_section(self):
      config_data = """
  [connections.my_snowpark_connection]
  accountname = "hello"
  dbname = notPostgres
  
  [connections]
  accountname = "i get overwritten"
  schemaname = public
  """
      with patch(
          "builtins.open", new_callable=mock_open, read_data=config_data
      ):
          assert load_from_snowsql_config_file(
              "my_snowpark_connection"
          ) == {
              "account": "hello",
              "database": "notPostgres",
          }
  
file_path: streamlit/lib/tests/streamlit/connections/util_test.py
imports: import unittest
  from unittest.mock import MagicMock, mock_open, patch
  import pytest
  from streamlit.connections.util import extract_from_dict, load_from_snowsql_config_file, running_in_sis
label_desc: Use image node_id 7 for calling the ConnectionUtilTest obj's underlying member method code with example usage: obj.test_load_from_snowsql_config_file_named_section() without return types