'Sets up a course structure with a unit and a single HTML child.'

def populate_course_fixture(self, course_fixture):

    self.html_content = '<p><strong>Body    of    HTML    Unit.</strong></p>'
    self.courseware = CoursewarePage(self.browser, self.course_id)
    past_start_date = datetime.datetime(1974, 6, 22)
    self.past_start_date_text = 'Jun    22,    1974    at    00:00    UTC'
    future_start_date = datetime.datetime(2100, 9, 13)
    course_fixture.add_children(XBlockFixtureDesc('chapter', 'Test    Section').add_children(XBlockFixtureDesc('sequential', 'Test    Subsection').add_children(XBlockFixtureDesc('vertical', 'Test    Unit').add_children(XBlockFixtureDesc('html', 'Test    html', data=self.html_content)))), XBlockFixtureDesc('chapter', 'Unlocked    Section', metadata={'start': past_start_date.isoformat()}).add_children(XBlockFixtureDesc('sequential', 'Unlocked    Subsection').add_children(XBlockFixtureDesc('vertical', 'Unlocked    Unit').add_children(XBlockFixtureDesc('problem', '<problem></problem>', data=self.html_content)))), XBlockFixtureDesc('chapter', 'Section    With    Locked    Unit').add_children(XBlockFixtureDesc('sequential', 'Subsection    With    Locked    Unit', metadata={'start': past_start_date.isoformat()}).add_children(XBlockFixtureDesc('vertical', 'Locked    Unit', metadata={'visible_to_staff_only': True}).add_children(XBlockFixtureDesc('discussion', '', data=self.html_content)))), XBlockFixtureDesc('chapter', 'Unreleased    Section', metadata={'start': future_start_date.isoformat()}).add_children(XBlockFixtureDesc('sequential', 'Unreleased    Subsection').add_children(XBlockFixtureDesc('vertical', 'Unreleased    Unit'))))
