code: def test_docker_hdfs_artifact_cmd_and_envs_from_home(monkeypatch):
      mock_env = {
          "MLFLOW_KERBEROS_TICKET_CACHE": "/mock_ticket_cache",
          "MLFLOW_KERBEROS_USER": "mock_krb_user",
          "MLFLOW_PYARROW_EXTRA_CONF": "mock_pyarrow_extra_conf",
      }
      hdfs_uri = "hdfs://host:8020/path"
      monkeypatch.setenvs(mock_env)
      cmds, envs = _get_docker_artifact_storage_cmd_and_envs(hdfs_uri)
      assert cmds == ["-v", "/mock_ticket_cache:/mock_ticket_cache"]
      assert envs == mock_env
  
file_path: mlflow/tests/projects/backend/test_local.py
imports: import os
  from unittest import mock
  from mlflow.projects.backend.local import _get_docker_artifact_storage_cmd_and_envs
label_desc: Use image node_id 5 for calling a global function with example usage: test_docker_hdfs_artifact_cmd_and_envs_from_home(monkeypatch) without return types