code: def test_launch_priority_no_queue(runner):
      with runner.isolated_filesystem():
          result = runner.invoke(
              cli.launch,
              [
                  "-u",
                  "https://github.com/test/repo.git",
                  "--entry-point",
                  "train.py",
                  "--priority",
                  "critical",
              ],
          )
  
      assert result.exit_code != 0
      assert (
          "--priority flag requires --queue to be set" in 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 16 for calling a global function with example usage: test_launch_priority_no_queue(runner) without return types