From d54897828dcbf2e150a7b0d2d1f3dd7f157689d1 Mon Sep 17 00:00:00 2001 From: jasquat Date: Thu, 19 Jan 2023 15:16:59 -0500 Subject: [PATCH] ensure we have something in the logs w/ burnettk --- .../unit/test_process_instance_service.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_process_instance_service.py b/spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_process_instance_service.py index 663b2580..d51b746a 100644 --- a/spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_process_instance_service.py +++ b/spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_process_instance_service.py @@ -35,6 +35,9 @@ class TestProcessInstanceService(BaseTest): ).all() initial_length = len(process_instance_logs) + # ensure we have something in the logs + assert initial_length > 0 + # logs should NOT increase after running this a second time since it's just waiting on a human task processor.do_engine_steps(save=True) process_instance_logs = SpiffLoggingModel.query.filter_by(