code: def test_create_model_package_with_non_empty_model_storage(
      tmp_path: Path,
  ):
      # Put something in the future model storage directory
      (tmp_path / "somefile.json").touch()
  
      with pytest.raises(ValueError):
          # Unpacking into an already filled `ModelStorage` raises an exception.
          _ = LocalModelStorage.from_model_archive(
              tmp_path, Path("does not matter")
          )
  
imports: import sys
  import uuid
  from datetime import datetime
  from pathlib import Path
  from tarsafe import TarSafe
  import freezegun
  import pytest
  from _pytest.monkeypatch import MonkeyPatch
  from _pytest.tmpdir import TempPathFactory
  import rasa.shared.utils.io
  from rasa.engine.graph import SchemaNode, GraphSchema, GraphModelConfiguration
  from rasa.engine.storage.local_model_storage import LocalModelStorage, MODEL_ARCHIVE_METADATA_FILE
  from rasa.engine.storage.storage import ModelStorage, ModelMetadata
  from rasa.engine.storage.resource import Resource
  from rasa.exceptions import UnsupportedModelVersionError
  from rasa.shared.core.domain import Domain
  from rasa.shared.data import TrainingType
  from tests.engine.graph_components_test_classes import PersistableTestComponent
label_desc: Use image node_id 8 for calling a global function with example usage: test_create_model_package_with_non_empty_model_storage(tmp_path) without return types