Skip to content

Commit

Permalink
fix: Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkheir committed Oct 30, 2024
1 parent 9627e66 commit 8784ae5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_path_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,15 +477,15 @@ def test_iterdir(s3_mock):
object_summary.put(Body=b'test data')

s3_path = S3Path('/test-bucket/docs')
assert sorted(s3_path.iterdir()) == [
assert sorted(s3_path.iterdir()) == sorted([
S3Path('/test-bucket/docs/_build'),
S3Path('/test-bucket/docs/_static'),
S3Path('/test-bucket/docs/_templates'),
S3Path('/test-bucket/docs/conf.py'),
S3Path('/test-bucket/docs/index.rst'),
S3Path('/test-bucket/docs/make.bat'),
S3Path('/test-bucket/docs/Makefile'),
]
])


def test_iterdir_on_buckets(s3_mock):
Expand Down

0 comments on commit 8784ae5

Please sign in to comment.