mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-11 18:54:25 +00:00
883e65384f
git-subtree-dir: spiffworkflow-backend git-subtree-split: 50f28073add91265f00826bd175c8b2fff76cdc5
28 lines
1002 B
Python
28 lines
1002 B
Python
"""Test_various_bpmn_constructs."""
|
|
from flask.app import Flask
|
|
from tests.spiffworkflow_backend.helpers.base_test import BaseTest
|
|
from tests.spiffworkflow_backend.helpers.test_data import load_test_spec
|
|
|
|
from spiffworkflow_backend.services.process_instance_processor import (
|
|
ProcessInstanceProcessor,
|
|
)
|
|
|
|
|
|
class TestVariousBpmnConstructs(BaseTest):
|
|
"""TestVariousBpmnConstructs."""
|
|
|
|
def test_running_process_with_timer_intermediate_catch_event(
|
|
self, app: Flask, with_db_and_bpmn_file_cleanup: None
|
|
) -> None:
|
|
"""Test_running_process_with_timer_intermediate_catch_event."""
|
|
process_model = load_test_spec(
|
|
"timers_intermediate_catch_event",
|
|
process_model_source_directory="timer_intermediate_catch_event",
|
|
)
|
|
|
|
process_instance = self.create_process_instance_from_process_model(
|
|
process_model
|
|
)
|
|
processor = ProcessInstanceProcessor(process_instance)
|
|
processor.do_engine_steps(save=True)
|