code: def test_docker_run_without_build_cache(run, build):
      args = [
          "run",
          "--no-pull",
          "--force-build",
          "--user",
          "me",
          "--no-cache",
          "--no-leaf-cache",
          "ubuntu-cpp",
      ]
      result = CliRunner().invoke(docker, args)
      assert result.exit_code == 0
      build.assert_called_once_with(
          "ubuntu-cpp",
          use_cache=False,
          use_leaf_cache=False,
          using_docker=False,
          using_buildx=False,
      )
      run.assert_called_once_with(
          "ubuntu-cpp",
          command=None,
          env={},
          resource_limit=None,
          user="me",
          using_docker=False,
          volumes=(),
      )
  
file_path: arrow/dev/archery/archery/docker/tests/test_docker_cli.py
imports: from unittest.mock import patch
  from click.testing import CliRunner
  from archery.docker import DockerCompose
  from archery.docker.cli import docker
label_desc: Use image node_id 6 for calling a global function with example usage: test_docker_run_without_build_cache(run, build) without return types