Пример #1
0
 def test_hhc_2(self):
     file = chm(get_filename("chm_files/CHM-example.chm"))
     ui = UnitInfo(chm=file,name="/CHM-example.hhc",compressed=True, length=4051, offset=423573)
     content = ui.get_content()
     assert_content(self,content, "CHM-example.hhc")
Пример #2
0
 def test_hhc_1(self):
     file = chm(get_filename("chm_files/iexplore.chm"))
     ui = UnitInfo(chm=file,name="/iexplore.hhc",compressed=True, length=18256, offset=1671249)
     content = ui.get_content()
     assert_content(self,content, "iexplore.hhc")