def test_factory(self): fti = queryUtility(IDexterityFTI, name='openmultimedia.contenttypes.audio') factory = fti.factory new_object = createObject(factory) self.assertTrue(IAudio.providedBy(new_object))
def test_adding(self): self.assertTrue(IAudio.providedBy(self.v1))