Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/p/r/Products.DCWorkflow-2.3.0-beta/Products/DCWorkflow/tests/test_guard.py   Products.DCWorkflow(Download)
        # Construct a workflow
        self.wtool = WorkflowTool()
        self.wtool._setObject('wf', DCWorkflowDefinition('wf'))
        self.wtool.setDefaultChain('wf')
        sm = getSiteManager()

src/p/r/Products.CMFDefault-2.3.0-beta2/Products/CMFDefault/tests/test_DefaultWorkflow.py   Products.CMFDefault(Download)
 
        self.wtool = WorkflowTool()
        self.wtool._setObject('wf', DefaultWorkflowDefinition('wf'))
        self.wtool.setDefaultChain('wf')
        sm = getSiteManager()

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/tests/test_WorkflowTool.py   Products.CMFCore(Download)
 
        for workflow_id in workflow_ids:
            tool._setObject(workflow_id, DummyWorkflow(workflow_id))
 
        return tool