code: def test_remove_session_files(self):
      # This should not error.
      self.mgr.remove_session_files("non-report")
  
      # Add two files with different session IDs, but the same widget ID.
      self.mgr.add_file("session1", FILE_1)
      self.mgr.add_file("session1", FILE_2)
  
      self.mgr.add_file("session2", FILE_1)
  
      self.mgr.remove_session_files("session1")
      self.assertEqual(
          [],
          self.mgr.get_files(
              "session1", [FILE_1.file_id, FILE_2.file_id]
          ),
      )
      self.assertEqual(
          [FILE_1], self.mgr.get_files("session2", [FILE_1.file_id])
      )
  
file_path: streamlit/lib/tests/streamlit/runtime/uploaded_file_manager_test.py
imports: import unittest
  from streamlit.runtime.memory_uploaded_file_manager import MemoryUploadedFileManager
  from streamlit.runtime.stats import CacheStat
  from streamlit.runtime.uploaded_file_manager import UploadedFileRec
  from tests.exception_capturing_thread import call_on_threads
label_desc: Use image node_id 5 for calling the UploadedFileManagerTest obj's underlying member method code with example usage: obj.test_remove_session_files() without return types