diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/services/process_model_service.py b/spiffworkflow-backend/src/spiffworkflow_backend/services/process_model_service.py index 5d3d2c7fb..ddd512e79 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/services/process_model_service.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/services/process_model_service.py @@ -242,7 +242,7 @@ class ProcessModelService(FileSystemService): self.write_json_file(json_path, serialized_process_group) return process_group - def process_group_move(self, original_process_group_id, new_location) -> ProcessGroup: + def process_group_move(self, original_process_group_id: str, new_location: str) -> ProcessGroup: original_group_path = self.process_group_path(original_process_group_id) original_root, original_group_id = os.path.split(original_group_path) new_root = f"{FileSystemService.root_path()}/{new_location}" 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 490435a84..b2cd8a384 100644 --- a/spiffworkflow-backend/tests/spiffworkflow_backend/integration/test_process_api.py +++ b/spiffworkflow-backend/tests/spiffworkflow_backend/integration/test_process_api.py @@ -2396,7 +2396,7 @@ class TestProcessApi(BaseTest): client: FlaskClient, with_db_and_bpmn_file_cleanup: None, with_super_admin_user: UserModel, - ): + ) -> None: """test_move_model.""" self.setup_initial_groups_for_move_tests(client, with_super_admin_user)