class_docstr: Tests every policy needs to fulfill.
  
  Each policy can declare further tests on its own.
class_docstr_tok: ["Tests","every","policy","needs","to","fulfill",".","Each","policy","can","declare","further","tests","on","its","own","."]
code: def model_storage(
      self, tmp_path_factory: TempPathFactory
  ) -> ModelStorage:
      return LocalModelStorage(
          tmp_path_factory.mktemp(uuid.uuid4().hex)
      )
  
imports: import uuid
  from pathlib import Path
  from typing import Type, List, Text, Optional, Dict, Any
  import dataclasses
  import numpy
  import pytest
  from _pytest.tmpdir import TempPathFactory
  from rasa.engine.graph import ExecutionContext, GraphSchema
  from rasa.engine.storage.local_model_storage import LocalModelStorage
  from rasa.engine.storage.resource import Resource
  from rasa.engine.storage.storage import ModelStorage
  from rasa.shared.constants import DEFAULT_SENDER_ID
  from rasa.shared.core.constants import ACTION_LISTEN_NAME, ACTION_UNLIKELY_INTENT_NAME
  from rasa.shared.core.domain import Domain
  from rasa.shared.core.events import ActionExecuted, Event, UserUttered, EntitiesAdded, SlotSet
  from rasa.core import training
  from rasa.core.constants import POLICY_MAX_HISTORY
  from rasa.core.featurizers.tracker_featurizers import TrackerFeaturizer, MaxHistoryTrackerFeaturizer, IntentMaxHistoryTrackerFeaturizer
  from rasa.core.featurizers.single_state_featurizer import SingleStateFeaturizer, IntentTokenizerSingleStateFeaturizer
  from rasa.core.policies.policy import SupportedData, InvalidPolicyConfig, Policy
  from rasa.core.policies.rule_policy import RulePolicy
  from rasa.core.policies.ted_policy import TEDPolicy
  from rasa.core.policies.memoization import AugmentedMemoizationPolicy, MemoizationPolicy
  from rasa.shared.core.trackers import DialogueStateTracker
  from rasa.shared.core.generator import TrackerWithCachedStates
  from tests.dialogues import TEST_DEFAULT_DIALOGUE
  from tests.core.utilities import get_tracker, tracker_from_dialogue
label_desc: Use image node_id 3 for calling the PolicyTestCollection obj's underlying member method code with example usage: obj.model_storage(tmp_path_factory) and returns: LocalModelStorage