class_docstr: Test MemorySessionStorage.
  
  These tests are intentionally extremely simple to ensure that we don't just end up
  testing cachetools.TTLCache. We try to just verify that we've wrapped TTLCache
  correctly, and in particular we avoid testing cache expiry functionality.
class_docstr_tok: ["Test","MemorySessionStorage",".","These","tests","are","intentionally","extremely","simple","to","ensure","that","we","do","n't","just","end","up","testing","cachetools.TTLCache",".","We","try","to","just","verify","that","we","'ve","wrapped","TTLCache","correctly",",","and","in","particular","we","avoid","testing","cache","expiry","functionality","."]
code: def test_list(self):
      store = MemorySessionStorage()
      store._cache["foo"] = "bar"
      store._cache["baz"] = "qux"
  
      self.assertEqual(store.list(), ["bar", "qux"])
  
file_path: streamlit/lib/tests/streamlit/runtime/memory_session_storage_test.py
imports: import unittest
  from unittest.mock import MagicMock
  from cachetools import TTLCache
  from streamlit.runtime.memory_session_storage import MemorySessionStorage
label_desc: Use image node_id 5 for calling the MemorySessionStorageTest obj's underlying member method code with example usage: obj.test_list() without return types