def test_factory(self): fti = queryUtility(IDexterityFTI, name='telesur.forums.forum') factory = fti.factory new_object = createObject(factory) self.assertTrue(IForum.providedBy(new_object))
def test_adding(self): self.assertTrue(IForum.providedBy(self.folder))