code: def test_from_dict_nested_config():
      config = Configuration()
      nested = Configuration()
      nested.add_option(
          "option1",
          option_type=str,
          default="hello",
      )
      config.sub = nested
  
      values = dict(sub=dict(option1="123"))
      config.from_dict(values)
      assert config.to_dict() == values
  
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 48 for calling a global function with example usage: test_from_dict_nested_config() without return types