code: def test_common_group_arguments(orionstate, monkeypatch):
      """Check the parsing of the common group"""
      monkeypatch.chdir(os.path.dirname(os.path.abspath(__file__)))
      parser, subparsers = _create_parser()
      args_list = [
          "-n",
          "test",
          "--config",
          "./orion_config_random.yaml",
      ]
  
      cli.get_basic_args_group(parser)
      args = vars(parser.parse_args(args_list))
      assert args["name"] == "test"
      assert args["config"].name == "./orion_config_random.yaml"
  
imports: import argparse
  import os
  import orion.core.cli.base
label_desc: Use image node_id 2 for calling a global function with example usage: test_common_group_arguments(orionstate, monkeypatch) without return types