'Set some useful content and URLs for tests'

def setUp(self):

    super(TextbookDetailTestCase, self).setUp()
    self.textbook1 = {'tab_title': 'Economics', 'id': 1, 'chapters': {'title': 'Chapter    1', 'url': '/a/b/c/ch1.pdf'}}
    self.url1 = self.get_details_url('1')
    self.textbook2 = {'tab_title': 'Algebra', 'id': 2, 'chapters': {'title': 'Chapter    11', 'url': '/a/b/ch11.pdf'}}
    self.url2 = self.get_details_url('2')
    self.course.pdf_textbooks = [self.textbook1, self.textbook2]
    self.save_course()
    self.url_nonexist = self.get_details_url('1=20')
