code: def test_download_assets_dependencies(
      version_asset_name,
      version_1,
      version_2,
      versioning,
      assetsmanager_settings,
      monkeypatch,
  ):
      if versioning:
          monkeypatch.setenv(
              "MODELKIT_ASSETS_VERSIONING_SYSTEM", versioning
          )
  
      class SomeModel(Asset):
          CONFIGURATIONS = {
              "model0": {"asset": f"category/{version_asset_name}"}
          }
  
      class SomeOtherModel(Asset):
          CONFIGURATIONS = {
              "model1": {
                  "asset": f"category/{version_asset_name}:{version_1}",
                  "model_dependencies": {"model0"},
              }
          }
  
      model_assets, assets_info = download_assets(
          assetsmanager_settings=assetsmanager_settings,
          models=[SomeModel, SomeOtherModel],
      )
  
      assert model_assets["model0"] == {
          f"category/{version_asset_name}"
      }
      assert model_assets["model1"] == {
          f"category/{version_asset_name}:{version_1}",
          f"category/{version_asset_name}",
      }
      assert (
          assets_info[f"category/{version_asset_name}"].version
          == version_2
      )
      assert (
          assets_info[
              f"category/{version_asset_name}:{version_1}"
          ].version
          == version_1
      )
  
imports: import asyncio
  import os
  import pytest
  from modelkit.assets.errors import AssetDoesNotExistError, InvalidAssetSpecError
  from modelkit.core import errors
  from modelkit.core.library import ConfigurationNotFoundException, ModelLibrary, download_assets, load_model
  from modelkit.core.model import Asset, AsyncModel, Model
  from modelkit.core.model_configuration import ModelConfiguration, _configurations_from_objects, configure, list_assets
  from modelkit.core.settings import LibrarySettings
  from tests import TEST_DIR, testmodels
  from tests.assets.test_versioning import test_versioning
label_desc: Use image node_id 12 for calling a global function with example usage: test_download_assets_dependencies(version_asset_name, version_1, version_2, versioning, assetsmanager_settings, monkeypatch) without return types