diff --git a/tosfs/tests/test_tosfs.py b/tosfs/tests/test_tosfs.py index 64f4515..1e16c9a 100644 --- a/tosfs/tests/test_tosfs.py +++ b/tosfs/tests/test_tosfs.py @@ -448,7 +448,7 @@ def test_find(tosfs: TosFileSystem, bucket: str, temporary_workspace: str) -> No result = tosfs.find( bucket, prefix=temporary_workspace + "/", withdirs=True, detail=True ) - assert len(result) == len(bucket, f"{bucket}/{temporary_workspace}/") + assert len(result) == len([bucket, f"{bucket}/{temporary_workspace}/"]) assert ( result[f"{bucket}/{temporary_workspace}/"]["name"] == f"{bucket}/{temporary_workspace}/"