code: def test_launch_cli_with_priority(
      runner, mocked_fetchable_git_repo, monkeypatch, live_mock_server
  ):
      async def patched_asyncio_run(*args, **kwargs):
          pass
  
      monkeypatch.setattr(
          "asyncio.run",
          patched_asyncio_run,
      )
  
      with runner.isolated_filesystem():
          result = runner.invoke(
              cli.launch,
              [
                  "--job",
                  "test/test/test:latest",
                  "--queue",
                  "prioritized",
                  "--priority",
                  "critical",
              ],
          )
          print(result.output)
          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 9 for calling a global function with example usage: test_launch_cli_with_priority(runner, mocked_fetchable_git_repo, monkeypatch, live_mock_server) without return types