code: def test_agent_failed_default_create(
      runner, test_settings, live_mock_server
  ):
      with runner.isolated_filesystem():
          live_mock_server.set_ctx(
              {"successfully_create_default_queue": False}
          )
          live_mock_server.set_ctx({"run_queues_return_default": False})
          result = runner.invoke(
              cli.launch_agent,
              [
                  "--project",
                  "test_project",
                  "--entity",
                  "mock_server_entity",
              ],
          )
          assert result.exit_code != 0
  
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 7 for calling a global function with example usage: test_agent_failed_default_create(runner, test_settings, live_mock_server) without return types