def test_type(self):
        assert isinstance(event.Priority.DEFAULT, int)
def deserialize(self, value):
        value = decode(value)
        validators.validate_choice(value.lower(), log.COLORS)
        return value.lower()