'Build up a course tree with an html control'

def build_course(self):

    self.global_staff = UserFactory(is_staff=True)
    self.course = CourseFactory.create(org='Elasticsearch', course='ES101', run='test_run', display_name='Elasticsearch    test    course')
    self.section = ItemFactory.create(parent=self.course, category='chapter', display_name='Test    Section')
    self.subsection = ItemFactory.create(parent=self.section, category='sequential', display_name='Test    Subsection')
    self.vertical = ItemFactory.create(parent=self.subsection, category='vertical', display_name='Test    Unit')
    self.html = ItemFactory.create(parent=self.vertical, category='html', display_name='Test    Html    control')
    self.ghost_subsection = ItemFactory.create(parent=self.section, category='sequential', display_name=None)
    self.ghost_vertical = ItemFactory.create(parent=self.ghost_subsection, category='vertical', display_name=None)
    self.ghost_html = ItemFactory.create(parent=self.ghost_vertical, category='html', display_name='Ghost    Html    control')
