code: def test_connect_session_explodes_if_ID_collission(self):
      session_id = self.connect_session()
      with pytest.raises(AssertionError):
          with patch(
              "streamlit.runtime.app_session.uuid.uuid4",
              return_value=session_id,
          ):
              self.connect_session()
  
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 8 for calling the WebsocketSessionManagerTests obj's underlying member method code with example usage: obj.test_connect_session_explodes_if_ID_collission() without return types