From 3ab2570b542ea49ce0b2c1da89e3110a037a2f03 Mon Sep 17 00:00:00 2001 From: burnettk Date: Tue, 25 Apr 2023 22:28:03 -0400 Subject: [PATCH] lint --- .../unit/test_process_instance_processor.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_process_instance_processor.py b/spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_process_instance_processor.py index 5b745063..f2755b9e 100644 --- a/spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_process_instance_processor.py +++ b/spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_process_instance_processor.py @@ -392,7 +392,9 @@ class TestProcessInstanceProcessor(BaseTest): ) assert top_level_subprocess_script_spiff_task is not None processor.resume() - assert len(process_instance.human_tasks) == 2, "expected 2 human tasks after resume since resume does not do anything in that regard" + assert ( + len(process_instance.human_tasks) == 2 + ), "expected 2 human tasks after resume since resume does not do anything in that regard" ready_or_waiting_tasks = processor.get_all_ready_or_waiting_tasks() assert len(ready_or_waiting_tasks) == 2 ready_or_waiting_task_identifiers = [t.task_spec.name for t in ready_or_waiting_tasks]