From 7f5b0f8290cbd2ba007151c06a161753f9c79b2d Mon Sep 17 00:00:00 2001 From: yanghua Date: Fri, 6 Sep 2024 10:18:08 +0800 Subject: [PATCH] Try to fix a bug --- tosfs/tests/test_tosfs.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tosfs/tests/test_tosfs.py b/tosfs/tests/test_tosfs.py index 6c4d5e9..ff8fa24 100644 --- a/tosfs/tests/test_tosfs.py +++ b/tosfs/tests/test_tosfs.py @@ -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()