code: def test_set_str_value():
      """Test that a string option can have its value set"""
      config = Configuration()
      config.add_option("test", option_type=str)
  
      with pytest.raises(ConfigurationError):
          config.test
  
      config.test = "1"
      assert config.test == "1"
      config.test = 1
      assert config.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 12 for calling a global function with example usage: test_set_str_value() without return types