def _validate_status_choices(self, statuses):
    for status in statuses:
        if (status not in self.VALID_STATUS):
            raise ValueError(('Invalid status: %s, must be one of: %s' % (status, ', '.join(self.VALID_STATUS))))
def _validate_status_choices(self, statuses):
    for status in statuses:
        if (status not in self.VALID_STATUS):
            raise ValueError(('Invalid status: %s, must be one of: %s' % (status, ', '.join(self.VALID_STATUS))))