code: def test_launch_add_default_specify(
      relay_server,
      user,
      mocked_fetchable_git_repo,
      wandb_init,
      test_settings,
  ):
      proj = "test_project1"
      uri = "https://github.com/FooBar/examples.git"
      entry_point = ["python", "train.py"]
      args = {
          "uri": uri,
          "project": proj,
          "entity": user,
          "queue_name": "default",
          "entry_point": entry_point,
          "resource": "local-container",
      }
      settings = test_settings({"project": LAUNCH_DEFAULT_PROJECT})
  
      with relay_server() as relay:
          run = wandb_init(settings=settings)
          queued_run = launch_add(**args)
          run.finish()
  
      assert queued_run.id
      assert queued_run.state == "pending"
      assert queued_run.entity == args["entity"]
      assert queued_run.project == args["project"]
      assert queued_run.queue_name == args["queue_name"]
      assert queued_run.project_queue == LAUNCH_DEFAULT_PROJECT
  
      for comm in relay.context.raw_data:
          q = comm["request"].get("query")
          # below should fail for non-existent default queue,
          # then fallback to legacy method
          if q and "mutation pushToRunQueueByName(" in str(q):
              assert (
                  comm["response"]
                  .get("data", {})
                  .get("pushToRunQueueByName")
                  is None
              )
          elif q and "mutation pushToRunQueue(" in str(q):
              assert (
                  comm["response"]["data"]["pushToRunQueue"] is not None
              )
  
imports: import json
  import os
  from unittest import mock
  import pytest
  import wandb
  from wandb.apis.public import Api
  from wandb.sdk.internal.internal_api import Api
  from wandb.sdk.internal.internal_api import UnsupportedError
  from wandb.sdk.launch._launch_add import launch_add
  from wandb.sdk.launch.utils import LAUNCH_DEFAULT_PROJECT, LaunchError
label_desc: Use image node_id 4 for calling a global function with example usage: test_launch_add_default_specify(relay_server, user, mocked_fetchable_git_repo, wandb_init, test_settings) without return types