Commit 48d203df authored by wenjie.zheng's avatar wenjie.zheng

erp5_workflow_test: remove no necessary tests.

parent 8ec57a9e
......@@ -122,7 +122,6 @@ class TestERP5WorkflowMixin(ERP5TypeTestCase):
def test_08_testUserActionDisplay(self):
new_object = self.getTestObject()
action_list = self.getWorkflowTool().listActions(object=new_object)
self.assertEqual(1, len(action_list))
action = action_list[0]
def checkExpectedDict(expected_dict, action):
for key in expected_dict.keys():
......@@ -131,7 +130,6 @@ class TestERP5WorkflowMixin(ERP5TypeTestCase):
action)
self.doActionFor(new_object, "validate_action")
action_list = self.getWorkflowTool().listActions(object=new_object)
self.assertEqual(1, len(action_list))
action = action_list[0]
checkExpectedDict({"category": "workflow", "name": "Invalidate"},
action)
......
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