'Set the entrance exam requirement via the checkbox.'

def require_entrance_exam(self, required=True):

    checkbox = self.entrance_exam_field
    selected = checkbox.is_selected()
    if (required and (not selected)):
        checkbox.click()
        self.wait_for_element_visibility(u'#entrance-exam-minimum-score-pct', u'Entrance    exam    minimum    score    percent    is    visible')
    if ((not required) and selected):
        checkbox.click()
        self.wait_for_element_invisibility(u'#entrance-exam-minimum-score-pct', u'Entrance    exam    minimum    score    percent    is    invisible')
