Skip to content

Commit

Permalink
Refactor test code
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghua committed Sep 5, 2024
1 parent 15cbbfb commit d9f28be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tosfs/tests/test_fsspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ def test_copy(fsspecfs: Any, bucket: str, temporary_workspace: str):
), "Content mismatch in copied file"

# Test Case 2: Copy directory recursively
copy_dir_dest = f"{bucket}/{temporary_workspace}/copy_dir"
copy_dir_dest = f"{bucket}/{temporary_workspace}/copy_dir/"
fsspecfs.mkdir(copy_dir_dest)
fsspecfs.copy(subdir_path, copy_dir_dest, recursive=True)
assert fsspecfs.exists(
f"{copy_dir_dest}/file1.txt"
Expand Down

0 comments on commit d9f28be

Please sign in to comment.