From b567b1e72d51f7f7e6f11261fc80b60d21d1b80d Mon Sep 17 00:00:00 2001 From: Artur Neumann Date: Thu, 16 Oct 2025 12:26:57 +0545 Subject: [PATCH] use full source path when adding the copy suffix --- test/gui/shared/steps/file_context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/gui/shared/steps/file_context.py b/test/gui/shared/steps/file_context.py index cabfda3c23..9e55004917 100644 --- a/test/gui/shared/steps/file_context.py +++ b/test/gui/shared/steps/file_context.py @@ -109,7 +109,7 @@ def copy_resource(resource_type, source, destination, from_files_for_upload=Fals source_dir = get_resource_path(source) destination_dir = get_resource_path(destination) if source_dir == destination_dir and destination_dir != '/': - destination_dir = add_copy_suffix(source, resource_type) + destination_dir = add_copy_suffix(source_dir, resource_type) if resource_type == 'folder': return shutil.copytree(source_dir, destination_dir) return shutil.copy2(source_dir, destination_dir)