code: def test_connect_session_connects_new_session_if_already_connected(
      self, patched_warning
  ):
      session_id = self.connect_session()
      new_session_id = self.connect_session(
          existing_session_id=session_id
      )
      assert session_id != new_session_id
  
      patched_warning.assert_called_with(
          "Session with id %s is already connected! Connecting to a new session.",
          session_id,
      )
  
imports: import unittest
  from unittest.mock import MagicMock, patch
  import pytest
  from streamlit.runtime.script_data import ScriptData
  from streamlit.runtime.session_manager import SessionStorage
  from streamlit.runtime.websocket_session_manager import WebsocketSessionManager
label_desc: Use image node_id 7 for calling the WebsocketSessionManagerTests obj's underlying member method code with example usage: obj.test_connect_session_connects_new_session_if_already_connected(patched_warning) without return types