def test_type(self):
        assert isinstance(event.Priority.DEFAULT, int)
def serialize(self, value, display=False):
        if value.lower() in log.COLORS:
            return encode(value.lower())
        return ""