'Initialize pages and install a course fixture.'

def setUp(self):

    super(CourseHomeBaseTest, self).setUp()
    self.course_home_page = CourseHomePage(self.browser, self.course_id)
    self.courseware_page = CoursewarePage(self.browser, self.course_id)
    course_fix = CourseFixture(self.course_info['org'], self.course_info['number'], self.course_info['run'], self.course_info['display_name'])
    course_fix.add_children(XBlockFixtureDesc('static_tab', 'Test    Static    Tab', data='static    tab    data    with    mathjax    \\(E=mc^2\\)'), XBlockFixtureDesc('chapter', 'Test    Section').add_children(XBlockFixtureDesc('sequential', 'Test    Subsection').add_children(XBlockFixtureDesc('problem', 'Test    Problem    1', data=load_data_str('multiple_choice.xml')), XBlockFixtureDesc('problem', 'Test    Problem    2', data=load_data_str('formula_problem.xml')), XBlockFixtureDesc('html', 'Test    HTML'))), XBlockFixtureDesc('chapter', 'Test    Section    2').add_children(XBlockFixtureDesc('sequential', 'Test    Subsection    2'), XBlockFixtureDesc('sequential', 'Test    Subsection    3').add_children(XBlockFixtureDesc('problem', 'Test    Problem    A', data=load_data_str('multiple_choice.xml'))))).install()
    auto_auth(self.browser, self.USERNAME, self.EMAIL, False, self.course_id)
