def test_init (self): """ Test Slides initialization. """ self.failUnless(self.slides.template != None) unloaded_slides = Slides(template=kiss.get_template("template.html"), opt={'test':True}) self.failUnless(unloaded_slides.slides == []) self.failUnless(unloaded_slides.opt['test'])
def setUp (self): self.slides = Slides(in_fname, template=kiss.get_template("template.html"), opt={'title_h1':True})
def setUp (self): self.slides = Slides("example.diff", template=kiss.get_template("template.html"), opt={'title_h1':True})