Skip to content

Commit

Permalink
Core: Implement find api
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghua committed Sep 2, 2024
1 parent 383eb19 commit cbc852b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tosfs/tests/test_tosfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}/"
Expand Down

0 comments on commit cbc852b

Please sign in to comment.