code: def test_download_artifacts_with_dst_path(
      run_with_artifact, tmp_path, dst_subdir_path
  ):
      run, artifact_path, _ = run_with_artifact
      artifact_uri = f"runs:/{run.info.run_id}/{artifact_path}"
      dst_path = (
          tmp_path / dst_subdir_path if dst_subdir_path else tmp_path
      )
      downloaded_file_path = _run_download_artifact_command(
          ["-u", artifact_uri, "-d", str(dst_path)]
      )
      assert str(downloaded_file_path).startswith(str(dst_path))
  
file_path: mlflow/tests/store/artifact/test_cli.py
imports: import json
  import pathlib
  from unittest import mock
  import pytest
  from click.testing import CliRunner
  import mlflow
  import mlflow.pyfunc
  from mlflow.entities import FileInfo
  from mlflow.store.artifact.cli import _file_infos_to_json, download_artifacts
  from mlflow.tracking.artifact_utils import _download_artifact_from_uri
label_desc: Use image node_id 7 for calling a global function with example usage: test_download_artifacts_with_dst_path(run_with_artifact, tmp_path, dst_subdir_path) without return types