'Initialize pages and install a course fixture.'

def setUp(self):

    super(PDFTextBooksTabTest, self).setUp()
    self.course_info_page = CourseInfoPage(self.browser, self.course_id)
    self.tab_nav = TabNavPage(self.browser)
    course_fix = CourseFixture(self.course_info['org'], self.course_info['number'], self.course_info['run'], self.course_info['display_name'])
    for i in range(1, 3):
        course_fix.add_textbook('PDF    Book    {}'.format(i), [{'title': 'Chapter    Of    Book    {}'.format(i), 'url': ''}])
    course_fix.install()
    AutoAuthPage(self.browser, course_id=self.course_id).visit()
