Exemplo n.º 1
0
 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")
Exemplo n.º 2
0
 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")
Exemplo n.º 3
0
 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")