Commit e02314cc authored by wenjie.zheng's avatar wenjie.zheng

ERP%TypeTestCase.py: in dynamicalWorkflowConversion, no more convert workflow...

ERP%TypeTestCase.py: in dynamicalWorkflowConversion, no more convert workflow livetest related workflows.
parent bf2dcbc1
......@@ -928,6 +928,10 @@ class ERP5TypeCommandLineTestCase(ERP5TypeTestCaseMixin):
if workflow_tool.getPortalType() == "Workflow Tool":
type_workflow_dict = workflow_tool.getChainsByType()
for workflow_id in workflow_tool.objectIds():
# Do not convert workflow's live test related workflows.
if workflow_id in ['testing_workflow', 'testing_interaction_workflow',\
'testing_workflow_backup', 'testing_interaction_workflow_backup']:
continue
workflow = workflow_tool._getOb(workflow_id)
if workflow.getPortalType() not in ['Workflow', 'Interaction Workflow']:
new_workflow = workflow_tool.dc_workflow_asERP5Object(workflow_tool, workflow, temp=0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment