code: def test_parse_from_args_only(
      parser: OrionCmdlineParser,
      commandline_fluff: List[str],
      weird_argument: WeirdArgument,
  ):
      """Parse a commandline."""
      cmd_args = commandline_fluff
  
      parser.parse(cmd_args)
  
      assert not parser.config_file_data
      assert len(parser.cmd_priors) == 4
      assert "/lr" in parser.cmd_priors
      assert "/prior" in parser.cmd_priors
      assert "/a.b" in parser.cmd_priors
      assert f"/{weird_argument.name}" in parser.cmd_priors
  
      assert parser.parser.template == [
          "--seed",
          "{seed}",
          "--lr",
          "{lr}",
          "--non-prior",
          "{non-prior}",
          "--prior",
          "{prior}",
          "--a.b",
          "{a.b}",
          f"--{weird_argument.name}",
          f"{{{weird_argument.name}}}",
          "--some-path",
          "{some-path}",
          "--home-path",
          "{home-path[0]}",
          "{home-path[1]}",
      ]
  
imports: import os
  from pathlib import Path
  from typing import Any, List, NamedTuple, Optional, Tuple
  import pytest
  from orion.core.io.convert import JSONConverter
  from orion.core.io.orion_cmdline_parser import OrionCmdlineParser
  from orion.core.worker.experiment import Experiment
  from orion.core.worker.trial import Trial
label_desc: Use image node_id 13 for calling a global function with example usage: test_parse_from_args_only(parser, commandline_fluff, weird_argument) without return types