'Verifies if user is instructor.'

def test_get_user_role_instructor(self):

    add_users(self.global_admin, CourseInstructorRole(self.course_key), self.instructor)
    self.assertEqual('instructor', get_user_role(self.instructor, self.course_key))
    add_users(self.global_admin, CourseStaffRole(self.course_key), self.staff)
    self.assertEqual('instructor', get_user_role(self.instructor, self.course_key))
