From 865ed4d0a78e0a4a105c97d7ece1466701eff873 Mon Sep 17 00:00:00 2001 From: jasquat Date: Wed, 10 May 2023 13:25:26 -0400 Subject: [PATCH] added reminder to check remaining tasks once we get new spiff --- .../spiffworkflow_backend/integration/test_process_api.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spiffworkflow-backend/tests/spiffworkflow_backend/integration/test_process_api.py b/spiffworkflow-backend/tests/spiffworkflow_backend/integration/test_process_api.py index 0e59fdd8..5c0fc5b7 100644 --- a/spiffworkflow-backend/tests/spiffworkflow_backend/integration/test_process_api.py +++ b/spiffworkflow-backend/tests/spiffworkflow_backend/integration/test_process_api.py @@ -1623,6 +1623,10 @@ class TestProcessApi(BaseTest): assert process_instance.status == "terminated" assert ready_task.state == "CANCELLED" + # TODO: uncomment this once spiff is returning deleted tasks on cancel + # remaining_tasks = TaskModel.query.filter_by(process_instance_id=process_instance_id).all() + # assert len(remaining_tasks) == 3 + def test_process_instance_delete( self, app: Flask,