From bc753168e2a7a61376c7f52ce8e48df48c38a460 Mon Sep 17 00:00:00 2001 From: Johannes Gundlach Date: Fri, 22 Nov 2024 17:33:39 +0100 Subject: [PATCH] Reduce file size for test copy --- tests/test_copy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_copy.py b/tests/test_copy.py index 9952d5f..0ab8bc2 100644 --- a/tests/test_copy.py +++ b/tests/test_copy.py @@ -16,7 +16,7 @@ def temporary_remote_folder(default_test_setup): yield remote_relative_test_dir # TEARDOWN - print("\nTeardown: deleting temp remote folder") + print(f"\nTeardown: deleting temp remote folder at {remote_relative_test_dir}") rclone.purge(remote_relative_test_dir) @@ -26,7 +26,7 @@ def large_tmp_local_file(): local_file_path = Path("data/tmp_file.file") local_file_path.parent.mkdir(parents=True, exist_ok=True) with open(local_file_path, "wb") as out: - out.truncate(100 * 1024 * 1024) + out.truncate(10 * 1024 * 1024) yield local_file_path