Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/p/r/Products.ImageRepository-1.0.2/Products/ImageRepository/tests/testImageRepository.py   Products.ImageRepository(Download)
    def disabled_testSimplePublish(self):
        self.setRoles(['Manager'])
        self.portal.portal_workflow.doActionFor(self.repository, 'publish')
        for image in images:
            self.portal.portal_workflow.doActionFor(getattr(self.repository,image['id']), 'publish')