This commit is contained in:
mike cullerton 2022-11-19 15:24:37 -05:00
parent 7e7ccb4e5e
commit 3972e4ebe7
2 changed files with 2 additions and 2 deletions

View File

@ -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}"

View File

@ -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)