code: def test_run_in_launch_context_with_artifact_string_no_used_as(
      runner, live_mock_server, test_settings
  ):
      live_mock_server.set_ctx({"swappable_artifacts": True})
      arti = {
          "name": "test:v0",
          "project": "test",
          "entity": "test",
          "_version": "v0",
          "_type": "artifactVersion",
          "id": "QXJ0aWZhY3Q6NTI1MDk4",
      }
      overrides = {
          "overrides": {
              "run_config": {"epochs": 10},
              "artifacts": {"old_name:v0": arti},
          },
      }
      with runner.isolated_filesystem():
          path = _project_spec.DEFAULT_LAUNCH_METADATA_PATH
          with open(path, "w") as fp:
              json.dump(overrides, fp)
          test_settings.update(
              launch=True, source=wandb.sdk.wandb_settings.Source.INIT
          )
          test_settings.update(
              launch_config_path=path,
              source=wandb.sdk.wandb_settings.Source.INIT,
          )
          run = wandb.init(
              settings=test_settings, config={"epochs": 2, "lr": 0.004}
          )
          arti_inst = run.use_artifact("old_name:v0")
          assert run.config.epochs == 10
          assert run.config.lr == 0.004
          run.finish()
          assert arti_inst.name == "test:v0"
          arti_info = live_mock_server.get_ctx()["used_artifact_info"]
          assert arti_info["used_name"] == "old_name:v0"
  
imports: import json
  import multiprocessing.pool
  import os
  import sys
  from unittest import mock
  from unittest.mock import MagicMock
  import pytest
  import wandb
  import wandb.sdk.launch._launch
  import wandb.sdk.launch._project_spec
  import yaml
  from wandb.apis import PublicApi
  from wandb.sdk.launch.agent.agent import LaunchAgent
  from wandb.sdk.launch.builder.build import _inject_wandb_config_env_vars
  from wandb.sdk.launch.builder.docker_builder import DockerBuilder
  from wandb.sdk.launch.errors import LaunchError
  from wandb.sdk.launch.utils import LAUNCH_DEFAULT_PROJECT, PROJECT_SYNCHRONOUS, pull_docker_image
  from wandb.sdk.lib import runid
  from tests.pytest_tests.unit_tests_old.utils import fixture_open, notebook_path
label_desc: Use image node_id 15 for calling a global function with example usage: test_run_in_launch_context_with_artifact_string_no_used_as(runner, live_mock_server, test_settings) without return types