docstr: Test parse nsight config into nsight command prefix
docstr_tok: ["Test","parse","nsight","config","into","nsight","command","prefix"]
code: def test_parse_nsight_config(self):
      """Test parse nsight config into nsight command prefix"""
      nsight_config = {
          "o": "single_dash",
          "two-dash": "double_dash",
      }
      nsight_cmd = parse_nsight_config(nsight_config)
      assert nsight_cmd == [
          "nsys",
          "profile",
          "-o",
          "single_dash",
          "--two-dash=double_dash",
      ]
  
file_path: ray/python/ray/tests/test_runtime_env_profiler.py
imports: import os
  import glob
  import sys
  from pathlib import Path
  import pytest
  import subprocess
  import ray
  from ray._private.runtime_env.nsight import parse_nsight_config
  from ray._private.test_utils import wait_for_condition
  from ray.exceptions import RuntimeEnvSetupError
label_desc: Use image node_id 6 for calling the TestNsightProfiler obj's underlying member method code with example usage: obj.test_parse_nsight_config() without return types