'Make sure that allowances can be added and removed.'

def test_can_add_remove_allowance(self):

    self._create_a_timed_exam_and_attempt()
    (__, __) = self.log_in_as_instructor()
    instructor_dashboard_page = self.visit_instructor_dashboard()
    allowance_section = instructor_dashboard_page.select_special_exams().select_allowance_section()
    self.assertTrue(allowance_section.is_add_allowance_button_visible)
    allowance_section.click_add_allowance_button()
    self.assertTrue(allowance_section.is_add_allowance_popup_visible)
    allowance_section.submit_allowance_form('10', self.USERNAME)
    self.assertTrue(allowance_section.is_allowance_record_visible)
