def test_factory(self): fti = queryUtility(IDexterityFTI, name='openmultimedia.reporter.ireport') factory = fti.factory new_object = createObject(factory) self.assertTrue(IIReport.providedBy(new_object))
def test_adding(self): self.assertTrue(IIReport.providedBy(self.folder))