Commit 4d6a3714 authored by wenjie.zheng's avatar wenjie.zheng

erp5_workflow: Remove a Base Category variable workflow5 from testWorkflow5Method.

parent ea75cdb0
...@@ -59,14 +59,14 @@ class TestERP5Workflow(ERP5TypeTestCase): ...@@ -59,14 +59,14 @@ class TestERP5Workflow(ERP5TypeTestCase):
type_base_category_list=(['category_state',]) type_base_category_list=(['category_state',])
) )
type_object.setWorkflow5Value(new_workflow) #type_object.setWorkflow5Value(new_workflow)
type_object.workflow_list=('new_workflow',) type_object.workflow_list = ('new_workflow',)
#type_object.setProperty('Transition_2', new_workflow) #type_object.setProperty('Transition_2', new_workflow)
self.assertEqual(type_object.getBaseCategoryList(), ['workflow5']) #self.assertEqual(type_object.getBaseCategoryList(), ['workflow5'])
self.assertEqual(type_object.getWorkflow5(), #self.assertEqual(type_object.getWorkflow5(),
'workflow_module/new_workflow') # 'workflow_module/new_workflow')
self.assertEqual(len(type_object.getWorkflow5ValueList()), 1) #self.assertEqual(len(type_object.getWorkflow5ValueList()), 1)
# create a module # create a module
self.portal.portal_types.newContent( self.portal.portal_types.newContent(
......
test.erp5.testWorkflow5Method
\ No newline at end of file
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