Commit 2e31fb57 authored by iv's avatar iv

ERP5Workflow: wip on unit test

parent 349671d9
......@@ -233,6 +233,15 @@ class TestERP5Workflow(ERP5TypeTestCase):
def test_InteractionGuards(self):
self.test_TransitionGuards(transition_type='Interaction')
def test_Base_viewDict(self):
workflow = self.workflow_module.newContent(portal_type='Workflow')
transition = workflow.newContent(portal_type='Transition')
self.commit()
self.logMessage
http_response = self.publish(transition.getPath() + '/Base_viewDict')
self.logMessage('path: ' + transition.getPath() + '/Base_viewDict')
self.assertEqual(http_response.status, 200)
def test_WorkflowSecurity(self):
"""
Test workflow security. Should be test with other methods. To be finished.
......
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