def testAuthorNameShouldHaveQuotesCount(self):
     self.authors = create_multiple_test_authors()
     self.__load_dom()
     assert self.dom.cssselect('#authors-list li a')[0].text_content(), \
            'Author 0 (10)'
 def testAuthorsPageShouldShowAuthors(self):
     self.authors = create_multiple_test_authors()
     self.__load_dom()
     authors_list = self.dom.cssselect('#authors-list li')
     assert len(authors_list), 100