code: def test_docker_s3_artifact_cmd_and_envs_from_home(monkeypatch):
      monkeypatch.delenvs(
          [
              "AWS_SECRET_ACCESS_KEY",
              "AWS_ACCESS_KEY_ID",
              "MLFLOW_S3_ENDPOINT_URL",
              "MLFLOW_S3_IGNORE_TLS",
          ],
          raising=False,
      )
      with mock.patch(
          "posixpath.exists", return_value=True
      ), mock.patch("posixpath.expanduser", return_value="mock_volume"):
          cmds, envs = _get_docker_artifact_storage_cmd_and_envs(
              "s3://mock_bucket"
          )
          assert cmds == ["-v", "mock_volume:/.aws"]
          assert envs == {}
  
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 2 for calling a global function with example usage: test_docker_s3_artifact_cmd_and_envs_from_home(monkeypatch) without return types