code: def test_access_config_without_values():
      """Test that access to config without values raises ConfigurationError"""
      config = Configuration()
      config.add_option("test", option_type=int)
      with pytest.raises(ConfigurationError) as exc:
          config.test
  
      assert (
          "Configuration not set and no default provided: 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 7 for calling a global function with example usage: test_access_config_without_values() without return types