code: def test_launch_name_run_id_environment_variable(
      runner,
      mocked_fetchable_git_repo,
      monkeypatch,
  ):
      monkeypatch.setattr(
          "wandb.sdk.launch.runner.local_container._run_entry_point",
          patched_run_run_entry,
      )
  
      async def _mock_build(*args, **kwargs):
          return "testimage:12345"
  
      monkeypatch.setattr(
          wandb.sdk.launch.builder.docker_builder.DockerBuilder,
          "build_image",
          lambda s, lp, e, jt: _mock_build(s, lp, e, jt),
      )
  
      run_id = "test_run_id"
      run_name = "test_run_name"
      args = [
          "-u",
          "https://github.com/test/repo.git",
          "--entry-point",
          "train.py",
          "-c",
          json.dumps({"run_id": run_id}),
          "--name",
          run_name,
      ]
      with runner.isolated_filesystem():
          result = runner.invoke(cli.launch, args)
          print(result.output)
  
      assert f"WANDB_RUN_ID={run_id}" in str(result.output)
      assert f"WANDB_NAME={run_name}" in str(result.output)
  
imports: import json
  import os
  from unittest.mock import Mock
  import pytest
  import wandb
  from wandb.apis import public
  from wandb.cli import cli
  from .test_launch import mock_load_backend, mocked_fetchable_git_repo
label_desc: Use image node_id 18 for calling a global function with example usage: test_launch_name_run_id_environment_variable(runner, mocked_fetchable_git_repo, monkeypatch) and returns: str