From e3748136095634061fef564e36ec05504f3d2573 Mon Sep 17 00:00:00 2001 From: mike cullerton Date: Mon, 27 Jun 2022 13:26:00 -0400 Subject: [PATCH] Pre commit with poetry --- tests/spiffworkflow_backend/integration/test_process_api.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/spiffworkflow_backend/integration/test_process_api.py b/tests/spiffworkflow_backend/integration/test_process_api.py index 0c8801b1..8554a1c6 100644 --- a/tests/spiffworkflow_backend/integration/test_process_api.py +++ b/tests/spiffworkflow_backend/integration/test_process_api.py @@ -884,6 +884,7 @@ def test_error_handler( def test_error_handler_suspend( app: Flask, client: FlaskClient, with_bpmn_file_cleanup: None ) -> None: + """Test_error_handler_suspend.""" db.session.query(ProcessInstanceModel).delete() db.session.commit() @@ -894,7 +895,9 @@ def test_error_handler_suspend( process_instance_id = setup_testing_instance( client, process_group_id, process_model_id, user ) - process_model = ProcessModelService().get_process_model(process_model_id, process_group_id) + process_model = ProcessModelService().get_process_model( + process_model_id, process_group_id + ) process_model.fault_or_suspend_on_exception = NotificationType.suspend.value ProcessModelService().update_spec(process_model)