code: def test_launch_supplied_docker_image(
      runner,
      monkeypatch,
  ):
      monkeypatch.setattr(
          "wandb.sdk.launch.runner.local_container.pull_docker_image",
          lambda docker_image: None,
      )
      monkeypatch.setattr(
          "wandb.sdk.launch.runner.local_container.docker_image_exists",
          lambda docker_image: None,
      )
      monkeypatch.setattr(
          "wandb.sdk.launch.runner.local_container._run_entry_point",
          patched_run_run_entry,
      )
  
      async def _mock_validate_docker_installation():
          pass
  
      monkeypatch.setattr(
          wandb.sdk.launch.builder.build,
          "validate_docker_installation",
          _mock_validate_docker_installation,
      )
  
      with runner.isolated_filesystem():
          result = runner.invoke(
              cli.launch,
              [
                  "--async",
                  "--docker-image",
                  "test:tag",
              ],
          )
  
      print(result)
      assert result.exit_code == 0
      assert "-e WANDB_DOCKER=test:tag" in result.output
      assert " -e WANDB_CONFIG='{}'" in result.output
      assert "-e WANDB_ARTIFACTS='{}'" in result.output
      assert "test:tag" in result.output
  
imports: import json
  from unittest.mock import Mock
  import pytest
  import wandb
  from wandb.cli import cli
  from wandb.sdk.launch.errors import LaunchError
label_desc: Use image node_id 15 for calling a global function with example usage: test_launch_supplied_docker_image(runner, monkeypatch) without return types