code: def test_docker_s3_artifact_cmd_and_envs_from_env(monkeypatch):
      mock_env = {
          "AWS_SECRET_ACCESS_KEY": "mock_secret",
          "AWS_ACCESS_KEY_ID": "mock_access_key",
          "MLFLOW_S3_ENDPOINT_URL": "mock_endpoint",
          "MLFLOW_S3_IGNORE_TLS": "false",
      }
      monkeypatch.setenvs(mock_env)
      with mock.patch("posixpath.exists", return_value=False):
          cmds, envs = _get_docker_artifact_storage_cmd_and_envs(
              "s3://mock_bucket"
          )
          assert cmds == []
          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 1 for calling a global function with example usage: test_docker_s3_artifact_cmd_and_envs_from_env(monkeypatch) without return types