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