From 8784ae5dab7cdb78f6f96aa42f82abae0ba2c91a Mon Sep 17 00:00:00 2001 From: Raphael Cohen Date: Wed, 30 Oct 2024 15:09:04 +0100 Subject: [PATCH] fix: Fix failing test --- tests/test_path_operations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_path_operations.py b/tests/test_path_operations.py index ddca990..5daeea9 100644 --- a/tests/test_path_operations.py +++ b/tests/test_path_operations.py @@ -477,7 +477,7 @@ 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'), @@ -485,7 +485,7 @@ def test_iterdir(s3_mock): S3Path('/test-bucket/docs/index.rst'), S3Path('/test-bucket/docs/make.bat'), S3Path('/test-bucket/docs/Makefile'), - ] + ]) def test_iterdir_on_buckets(s3_mock):