code: def test_parse_arguments(basic_config, basic_keys):
      """Test the parsing of the commandline arguments"""
      cmdline_parser = CmdlineParser()
      keys, arguments = cmdline_parser._parse_arguments(
          "python script.py some pos args --with args --and multiple args "
          "--plus --booleans --equal=value".split(" ")
      )
  
      assert arguments == basic_config
      assert keys == basic_keys
  
file_path: orion/tests/unittests/core/io/test_cmdline_parser.py
imports: import os
  from collections import OrderedDict
  import pytest
  from orion.core.io.cmdline_parser import CmdlineParser
label_desc: Use image node_id 6 for calling a global function with example usage: test_parse_arguments(basic_config, basic_keys) without return types