code: def test_set_subconfig():
      """Test that setting a subconfig works"""
      config = Configuration()
      config.test = Configuration()
  
      assert isinstance(config.test, Configuration)
  
      with pytest.raises(ConfigurationError):
          config.test.voici_voila
  
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 6 for calling a global function with example usage: test_set_subconfig() without return types