code: def test_hagrid_launch_without_name_with_preposition() -> None:
      """This test is important because we want to make it convenient
      for our users to just run 'hagrid launch' whenever they want to spin
      up a new node with a randomly chosen name"""
  
      # COMMAND: "hagrid launch on docker"
      args: List[str] = ["to", "docker"]
  
      verb = cli.get_launch_verb()
      grammar = cli.parse_grammar(args=tuple(args), verb=verb)
      verb.load_grammar(grammar=grammar)
      cmd = cli.create_launch_cmd(
          verb=verb,
          kwargs=defaultdict(lambda: None),
          ignore_docker_version_check=True,
      )
  
      cmd = cmd["Launching"][0]  # type: ignore
      # check that it's a domain by default
      assert "NODE_TYPE=domain" in cmd or "NODE_TYPE='domain'" in cmd
  
      # check that the node has a name
      assert "NODE_NAME=" in cmd
  
      # check that tail is on by default
      assert " -d " not in cmd
  
file_path: PySyft/packages/hagrid/tests/hagrid/cli_test.py
imports: from collections import defaultdict
  from typing import List
  from typing import Tuple
  from hagrid import cli
  from hagrid import grammar
label_desc: Use image node_id 3 for calling a global function with example usage: test_hagrid_launch_without_name_with_preposition() without return types