code: def test_docker_run_args(docker_args):
      active_run = mock.MagicMock()
      run_info = mock.MagicMock()
      run_info.run_id = "fake_run_id"
      run_info.experiment_id = "fake_experiment_id"
      run_info.artifact_uri = "/tmp/mlruns/artifacts"
      active_run.info = run_info
      image = mock.MagicMock()
      image.tags = ["image:tag"]
  
      docker_command = _get_docker_command(
          image, active_run, docker_args, None, None
      )
  
      for flag, value in docker_args.items():
          assert (
              docker_command[docker_command.index(value) - 1]
              == f"--{flag}"
          )
  
imports: import os
  from unittest import mock
  import pytest
  from databricks_cli.configure.provider import DatabricksConfig
  import docker
  import mlflow
  from mlflow import MlflowClient
  from mlflow.entities import ViewType
  from mlflow.environment_variables import MLFLOW_TRACKING_URI
  from mlflow.exceptions import MlflowException
  from mlflow.projects import ExecutionException, _project_spec
  from mlflow.projects.backend.local import _get_docker_command
  from mlflow.projects.docker import _get_docker_image_uri
  from mlflow.store.tracking import file_store
  from mlflow.utils.mlflow_tags import MLFLOW_DOCKER_IMAGE_ID, MLFLOW_DOCKER_IMAGE_URI, MLFLOW_PROJECT_BACKEND, MLFLOW_PROJECT_ENV
  from tests.projects.utils import TEST_DOCKER_PROJECT_DIR, docker_example_base_image
label_desc: Use image node_id 13 for calling a global function with example usage: test_docker_run_args(docker_args) without return types