code: def test_parse_from_yaml_config(
      parser: OrionCmdlineParser, yaml_config: List[str]
  ):
      """Parse from a yaml config only."""
      parser.parse(yaml_config)
      config = parser.priors
  
      assert len(config.keys()) == 6
      assert "/layers/1/width" in config
      assert "/layers/1/type" in config
      assert "/layers/2/type" in config
      assert "/training/lr0" in config
      assert "/training/mbs" in config
      assert "/something-same" in config
  
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 9 for calling a global function with example usage: test_parse_from_yaml_config(parser, yaml_config) without return types