def SetCQState(self, new_state):
    'Sets the Commit-Queue label assuming canonical CQ config for Gerrit.'
    vote_map = {_CQState.NONE: 0, _CQState.DRY_RUN: 1, _CQState.COMMIT: 2}
    gerrit_util.SetReview(self._GetGerritHost(), self.GetIssue(), labels={'Commit-Queue': vote_map[new_state]})
Sets the Commit-Queue label assuming canonical CQ config for Gerrit.
def SetCQState(self, new_state):
    
    vote_map = {_CQState.NONE: 0, _CQState.DRY_RUN: 1, _CQState.COMMIT: 2}
    gerrit_util.SetReview(self._GetGerritHost(), self.GetIssue(), labels={'Commit-Queue': vote_map[new_state]})