code: def test_on_secrets_changed(self):
      conn = MockConnection("my_mock_connection")
  
      with patch(
          "streamlit.connections.base_connection.BaseConnection.reset"
      ) as patched_reset, patch(
          "streamlit.connections.base_connection.BaseConnection._secrets",
          PropertyMock(
              return_value=AttrDict(
                  {"mock_connection": {"new": "secret"}}
              )
          ),
      ):
          conn._on_secrets_changed("unused_arg")
          patched_reset.assert_called_once()
  
imports: import os
  import unittest
  from unittest.mock import PropertyMock, mock_open, patch
  import pytest
  import streamlit
  from streamlit.connections import BaseConnection
  from streamlit.runtime.secrets import AttrDict
label_desc: Use image node_id 13 for calling the BaseConnectionDefaultMethodTests obj's underlying member method code with example usage: obj.test_on_secrets_changed() without return types