diff --git a/tosfs/tests/test_tosfs.py b/tosfs/tests/test_tosfs.py index 14044ac..dc39bfa 100644 --- a/tosfs/tests/test_tosfs.py +++ b/tosfs/tests/test_tosfs.py @@ -688,9 +688,13 @@ def test_rm(tosfs: TosFileSystem, bucket: str, temporary_workspace: str) -> None f"{bucket}/{temporary_workspace}/{dir_name}/{sub_dir_name}/{sub_file_name}" ) tosfs.rm(f"{bucket}/{temporary_workspace}/{dir_name}", recursive=True) - assert not tosfs.exists(f"{bucket}/{temporary_workspace}/{dir_name}/{sub_file_name}") + assert not tosfs.exists( + f"{bucket}/{temporary_workspace}/{dir_name}/{sub_file_name}" + ) assert not tosfs.exists(f"{bucket}/{temporary_workspace}/{dir_name}/{sub_dir_name}") - assert not tosfs.exists(f"{bucket}/{temporary_workspace}/{dir_name}/{sub_dir_name}/{sub_file_name}") + assert not tosfs.exists( + f"{bucket}/{temporary_workspace}/{dir_name}/{sub_dir_name}/{sub_file_name}" + ) assert not tosfs.exists(f"{bucket}/{temporary_workspace}/{dir_name}") # Test Deletion of Non-Existent Path