def test_factory(self): fti = queryUtility(IDexterityFTI, name=ctype) factory = fti.factory new_object = createObject(factory) self.assertTrue(ISuggestion.providedBy(new_object))
def test_adding(self): self.assertTrue(ISuggestion.providedBy(self.obj))