code: def test_set_subconfig_value_like_dict():
      """Test that we can set values like a dictionary"""
      config = Configuration()
      config.sub = Configuration()
      config.sub.add_option("test", option_type=str)
  
      with pytest.raises(ConfigurationError):
          config.test
  
      config["sub.test"] = "1"
      assert config.sub.test == "1"
      config["sub.test"] = 1
      assert config.sub.test == "1"
  
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 15 for calling a global function with example usage: test_set_subconfig_value_like_dict() without return types