Skip to content

Commit

Permalink
Try to fix a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghua committed Sep 6, 2024
1 parent b0140e0 commit 7f5b0f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tosfs/tests/test_tosfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,10 +427,10 @@ def test_find(tosfs: TosFileSystem, bucket: str, temporary_workspace: str) -> No
)
assert result[f"{bucket}/{temporary_workspace}"]["type"] == "directory"

# result = tosfs.find(
# f"{bucket}/{temporary_workspace}/", withdirs=True, maxdepth=1, detail=True
# )
# assert len(result) == 0
result = tosfs.find(
f"{bucket}/{temporary_workspace}/", withdirs=True, maxdepth=1, detail=True
)
assert len(result) == 0

dir_name = random_str()
sub_dir_name = random_str()
Expand Down

0 comments on commit 7f5b0f8

Please sign in to comment.