Esempio n. 1
0
 def test_factory(self):
     fti = queryUtility(IDexterityFTI, name="collective.cover.content")
     factory = fti.factory
     new_object = createObject(factory)
     self.assertTrue(ICover.providedBy(new_object))
Esempio n. 2
0
 def test_adding(self):
     self.assertTrue(ICover.providedBy(self.cover))