'Create search page and course content to search'

def setUp(self):

    with open(self.TEST_INDEX_FILENAME, 'w+') as index_file:
        json.dump({}, index_file)
    self.addCleanup(remove_file, self.TEST_INDEX_FILENAME)
    super(CoursewareSearchTest, self).setUp()
    self.course_home_page = CourseHomePage(self.browser, self.course_id)
    self.studio_course_outline = StudioCourseOutlinePage(self.browser, self.course_info['org'], self.course_info['number'], self.course_info['run'])
    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('chapter', 'Section    1').add_children(XBlockFixtureDesc('sequential', 'Subsection    1'))).add_children(XBlockFixtureDesc('chapter', 'Section    2').add_children(XBlockFixtureDesc('sequential', 'Subsection    2'))).install()
