spiff-arena/tests/SpiffWorkflow/spiff/BusinessRuleTaskTest.py
Jon Herron 0892db6fa7 Squashed 'SpiffWorkflow/' content from commit 63db3e4
git-subtree-dir: SpiffWorkflow
git-subtree-split: 63db3e45947ec66b8d0efc2c74064004f8ff482c
2022-10-12 10:19:53 -04:00

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())