mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-09 17:55:48 +00:00
0892db6fa7
git-subtree-dir: SpiffWorkflow git-subtree-split: 63db3e45947ec66b8d0efc2c74064004f8ff482c
12 lines
468 B
Python
12 lines
468 B
Python
from SpiffWorkflow.bpmn.workflow import BpmnWorkflow
|
|
|
|
from .BaseTestCase import BaseTestCase
|
|
|
|
class BusinessRuleTaskTest(BaseTestCase):
|
|
|
|
def testBusinessRule(self):
|
|
spec, subprocesses = self.load_workflow_spec('business_rule_task.bpmn', 'Process_bd2e724', 'business_rules.dmn')
|
|
self.workflow = BpmnWorkflow(spec, subprocesses)
|
|
self.save_restore()
|
|
self.workflow.do_engine_steps()
|
|
self.assertTrue(self.workflow.is_completed()) |