def test_factory(self):
     fti = queryUtility(IDexterityFTI, name='Person')
     factory = fti.factory
     new_object = createObject(factory)
     self.assertTrue(IPerson.providedBy(new_object))
 def test_adding(self):
     self.assertTrue(IPerson.providedBy(self.p1))