docstr: Tests that LocalDiskCacheStorageManager.create()
  returns a LocalDiskCacheStorage with correct parameters from context, if
  persist="disk"
docstr_tok: ["Tests","that","LocalDiskCacheStorageManager.create","(",")","returns","a","LocalDiskCacheStorage","with","correct","parameters","from","context",",","if","persist=","''","disk","''"]
code: def test_create_persist_context(self):
      """Tests that LocalDiskCacheStorageManager.create()
      returns a LocalDiskCacheStorage with correct parameters from context, if
      persist="disk"
      """
      context = CacheStorageContext(
          function_key="func-key",
          function_display_name="func-display-name",
          persist="disk",
          ttl_seconds=60,
          max_entries=100,
      )
      manager = LocalDiskCacheStorageManager()
      storage = manager.create(context)
      self.assertIsInstance(storage, InMemoryCacheStorageWrapper)
      self.assertEqual(storage.ttl_seconds, 60)
      self.assertEqual(storage.max_entries, 100)
  
imports: import logging
  import math
  import os.path
  import shutil
  import unittest
  from unittest.mock import MagicMock, patch
  from testfixtures import TempDirectory
  from streamlit import util
  from streamlit.logger import get_logger
  from streamlit.runtime.caching.storage import CacheStorageContext, CacheStorageError, CacheStorageKeyNotFoundError
  from streamlit.runtime.caching.storage.in_memory_cache_storage_wrapper import InMemoryCacheStorageWrapper
  from streamlit.runtime.caching.storage.local_disk_cache_storage import LocalDiskCacheStorage, LocalDiskCacheStorageManager
label_desc: Use image node_id 3 for calling the LocalDiskCacheStorageManagerTest obj's underlying member method code with example usage: obj.test_create_persist_context() without return types