From 5804f058e8c43c281dfc5d6cb304bffd6695a0fe Mon Sep 17 00:00:00 2001 From: jasquat Date: Tue, 10 Jan 2023 13:23:09 -0500 Subject: [PATCH] fixed failing tests --- tests/data/message_send_two_conversations/message_sender.bpmn | 2 +- tests/spiffworkflow_backend/unit/test_spec_file_service.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/data/message_send_two_conversations/message_sender.bpmn b/tests/data/message_send_two_conversations/message_sender.bpmn index 721c1780..16051705 100644 --- a/tests/data/message_send_two_conversations/message_sender.bpmn +++ b/tests/data/message_send_two_conversations/message_sender.bpmn @@ -1,6 +1,6 @@ - + diff --git a/tests/spiffworkflow_backend/unit/test_spec_file_service.py b/tests/spiffworkflow_backend/unit/test_spec_file_service.py index ba2c4319..41811eba 100644 --- a/tests/spiffworkflow_backend/unit/test_spec_file_service.py +++ b/tests/spiffworkflow_backend/unit/test_spec_file_service.py @@ -5,7 +5,6 @@ import pytest from flask import Flask from flask.testing import FlaskClient from flask_bpmn.models.db import db -from SpiffWorkflow.bpmn.parser.ValidationException import ValidationException # type: ignore from tests.spiffworkflow_backend.helpers.base_test import BaseTest from tests.spiffworkflow_backend.helpers.test_data import load_test_spec @@ -77,7 +76,7 @@ class TestSpecFileService(BaseTest): bpmn_process_id_lookups[0].relative_path == self.call_activity_nested_relative_file_path ) - with pytest.raises(ValidationException) as exception: + with pytest.raises(ProcessModelFileInvalidError) as exception: load_test_spec( "call_activity_nested_duplicate", process_model_source_directory="call_activity_duplicate",