code: def test_parse_paths(monkeypatch):
      """Test the parse_paths function"""
      monkeypatch.chdir(os.path.dirname(__file__))
      cmdline_parser = CmdlineParser()
      assert cmdline_parser._parse_paths(__file__) == os.path.abspath(
          __file__
      )
  
      values = ["test_resolve_config.py", "test", "nada", __file__]
      parsed_values = cmdline_parser._parse_paths(values)
      assert parsed_values[0] == os.path.abspath(
          "test_resolve_config.py"
      )
      assert parsed_values[1] == "test"
      assert parsed_values[2] == "nada"
      assert parsed_values[3] == os.path.abspath(__file__)
  
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 5 for calling a global function with example usage: test_parse_paths(monkeypatch) without return types