code: def test_assign_scoped_enum_value_name(self):
      # -- CONVERT: string => Enum value (item)
      scoped_names = [
          "Color.red",
          "Color.green",
          "Color.blue",
          "Color.yellow",
      ]
      for value in scoped_names:
          example = self.Example()
          example.color = value
          self.assertIsInstance(example.color, Color)
          self.assertEqual(str(example.color), value)
  
imports: import enum
  import unittest
  from traitlets import CaselessStrEnum, Enum, FuzzyEnum, HasTraits, TraitError, UseEnum
label_desc: Use image node_id 6 for calling the TestUseEnum obj's underlying member method code with example usage: obj.test_assign_scoped_enum_value_name() without return types