code: def test_assign_enum_value_name(self):
      # -- CONVERT: string => Enum value (item)
      # pylint: disable=no-member
      enum_names = [
          enum_val.name for enum_val in Color.__members__.values()
      ]
      for value in enum_names:
          self.assertIsInstance(value, string_types)
          example = self.Example()
          enum_value = Color.__members__.get(value)
          example.color = value
          self.assertIs(example.color, enum_value)
          self.assertEqual(example.color.name, value)
  
imports: import unittest
  import enum
  from ipython_genutils.py3compat import string_types
  from traitlets import HasTraits, TraitError, UseEnum
label_desc: Use image node_id 5 for calling the TestUseEnum obj's underlying member method code with example usage: obj.test_assign_enum_value_name() without return types