def test_indexEntriesAdded(self): indexer.addEntry('lore_index_test.html', 'index02', 'language of programming', '1.3') indexer.addEntry('lore_index_test.html', 'index01', 'programming language', '1.2') indexer.setIndexFilename("lore_index_file.html") indexer.generateIndex() self.assertEqualFiles1("lore_index_file_out.html", "lore_index_file.html")
def test_indexEntriesAdded(self): indexer.addEntry("lore_index_test.html", "index02", "language of programming", "1.3") indexer.addEntry("lore_index_test.html", "index01", "programming language", "1.2") indexer.setIndexFilename("lore_index_file.html") indexer.generateIndex() self.assertEqualFiles1("lore_index_file_out.html", "lore_index_file.html")