'Sets up course with library content.'

def _setup_source_course_with_library_content(self, publish=False):

    chapter = ItemFactory.create(parent_location=self.source_course.location, category='chapter', display_name='Test    Section')
    sequential = ItemFactory.create(parent_location=chapter.location, category='sequential', display_name='Test    Sequential')
    vertical = ItemFactory.create(category='vertical', parent_location=sequential.location, display_name='Test    Unit')
    lc_block = self._add_library_content_block(vertical, self.lib_key, publish_item=publish)
    self._refresh_children(lc_block)
