'Set up course with html content in it.'

def _setup_course_with_content(self):

    self.chapter = ItemFactory.create(parent_location=self.course.location, category='chapter', display_name='Week    1', modulestore=self.store, publish_item=True, start=datetime(2015, 3, 1, tzinfo=UTC))
    self.sequential = ItemFactory.create(parent_location=self.chapter.location, category='sequential', display_name='Lesson    1', modulestore=self.store, publish_item=True, start=datetime(2015, 3, 1, tzinfo=UTC))
    self.sequential2 = ItemFactory.create(parent_location=self.chapter.location, category='sequential', display_name='Lesson    2', modulestore=self.store, publish_item=True, start=datetime(2015, 3, 1, tzinfo=UTC))
    self.vertical = ItemFactory.create(parent_location=self.sequential.location, category='vertical', display_name='Subsection    1', modulestore=self.store, publish_item=True, start=datetime(2015, 4, 1, tzinfo=UTC))
    self.vertical2 = ItemFactory.create(parent_location=self.sequential.location, category='vertical', display_name='Subsection    2', modulestore=self.store, publish_item=True, start=datetime(2015, 4, 1, tzinfo=UTC))
    self.vertical3 = ItemFactory.create(parent_location=self.sequential2.location, category='vertical', display_name='Subsection    3', modulestore=self.store, publish_item=True, start=datetime(2015, 4, 1, tzinfo=UTC))
    self.html_unit1 = ItemFactory.create(parent_location=self.vertical.location, category='html', display_name='Html    Content    1', modulestore=self.store, publish_item=True)
    self.html_unit1.parent = self.vertical
    self.html_unit2 = ItemFactory.create(parent_location=self.vertical2.location, category='html', display_name='Html    Content    2', modulestore=self.store, publish_item=True)
    self.html_unit2.parent = self.vertical2
    self.html_unit3 = ItemFactory.create(parent_location=self.vertical2.location, category='html', display_name='Html    Content    3', modulestore=self.store, publish_item=True)
    self.html_unit3.parent = self.vertical2
