Пример #1
0
 def test_not_course_instructor(self):
     util.change_course_instructor(self.section, self.instructor)
     self.sign_up_page.hit_url(self.section.term.id, self.section.ccn)
     self.sign_up_page.wait_for_element(
         SignUpPage.not_authorized_msg_locator(self.section),
         util.get_short_timeout())
Пример #2
0
 def test_add_instructor(self):
     util.change_course_instructor(self.section,
                                   old_instructor=None,
                                   new_instructor=self.instructor_1)
 def test_set_fake_instr(self):
     util.change_course_instructor(self.fake_section,
                                   self.real_section.instructors[0],
                                   self.fake_section.instructors[0])
Пример #4
0
 def test_remove_instructor(self):
     util.change_course_instructor(self.section,
                                   old_instructor=self.instructor_0,
                                   new_instructor=None)