Skip to content

Commit

Permalink
Reduce file size for test copy
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes11833 committed Nov 22, 2024
1 parent 77ebca7 commit bc75316
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_copy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand All @@ -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

Expand Down

0 comments on commit bc75316

Please sign in to comment.