コード例 #1
0
 def test_factory(self):
     fti = queryUtility(IDexterityFTI, name=ctype)
     factory = fti.factory
     new_object = createObject(factory)
     self.failUnless(IProject.providedBy(new_object))
コード例 #2
0
 def test_adding(self):
     self.failUnless(IProject.providedBy(self.obj))