code: def test_yaml_loading_empty_config(yaml_path):
      """Test loading for empty config fails like setting non existing attributes."""
      config = Configuration()
  
      with pytest.raises(ConfigurationError) as exc:
          config.load_yaml(yaml_path)
  
      assert "Configuration does not have an attribute 'test'." in str(
          exc.value
      )
  
imports: import argparse
  import logging
  import os
  import pytest
  import yaml
  from orion.core.io.config import Configuration, ConfigurationError
label_desc: Use image node_id 17 for calling a global function with example usage: test_yaml_loading_empty_config(yaml_path) without return types