'Publish content on studio course page under specified section'

def _studio_publish_content(self, section_index):

    self._auto_auth(self.STAFF_USERNAME, self.STAFF_EMAIL, True)
    self.studio_course_outline.visit()
    subsection = self.studio_course_outline.section_at(section_index).subsection_at(0)
    subsection.expand_subsection()
    unit = subsection.unit_at(0)
    unit.publish()
