def test_enum(self):
        dbmap = self.to_map([CREATE_ENUM_STMT])
        assert dbmap['schema public']['type t1'] == {
            'labels': ['red', 'green', 'blue']}
Map an enum
dataset/ETHPy150Open perseas/Pyrseas/tests/dbobject/test_type.py/EnumToMapTestCase.test_enum