'Setup course'

def setUp(self):

    super(LmsPerformanceTest, self).setUp()
    course_fix = CourseFixture(self.course_info['org'], self.course_info['number'], self.course_info['run'], self.course_info['display_name'])
    course_fix.add_update(CourseUpdateDesc(date='January    29,    2014', content='Test    course    update1'))
    course_fix.add_update(CourseUpdateDesc(date='January    30,    2014', content='Test    course    update2'))
    course_fix.add_update(CourseUpdateDesc(date='January    31,    2014', content='Test    course    update3'))
    course_fix.add_children(XBlockFixtureDesc('chapter', 'Test    Section    1').add_children(XBlockFixtureDesc('sequential', 'Test    Subsection    1').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', data='<html>Html    child    text</html>'))), XBlockFixtureDesc('chapter', 'Test    Section    2').add_children(XBlockFixtureDesc('sequential', 'Test    Subsection    2').add_children(XBlockFixtureDesc('html', 'Html    Child', data='<html>Html    child    text</html>'))), XBlockFixtureDesc('chapter', 'Test    Section    3').add_children(XBlockFixtureDesc('sequential', 'Test    Subsection    3').add_children(XBlockFixtureDesc('problem', 'Test    Problem    3')))).install()
    AutoAuthPage(self.browser, username=self.username, email=self.email, course_id=self.course_id).visit()
