From d7088bd08017c7a1e01d482fff466eadc7273bdf Mon Sep 17 00:00:00 2001 From: aemous Date: Mon, 30 Sep 2024 17:06:26 -0400 Subject: [PATCH] Update tests based on feedback. --- tests/functional/s3/test_cp_command.py | 2 ++ tests/functional/s3/test_mv_command.py | 1 + tests/functional/s3/test_sync_command.py | 4 ++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/functional/s3/test_cp_command.py b/tests/functional/s3/test_cp_command.py index 229c6b251b8cf..c4f08f928fbb4 100644 --- a/tests/functional/s3/test_cp_command.py +++ b/tests/functional/s3/test_cp_command.py @@ -836,6 +836,7 @@ def test_copy_with_checksum_algorithm_crc32(self): def test_download_with_checksum_mode_crc32(self): self.parsed_responses = [ self.head_object_response(), + # Mocked GetObject response with a checksum algorithm specified { 'ContentLength': '100', 'LastModified': '00:00:00Z', @@ -852,6 +853,7 @@ def test_download_with_checksum_mode_crc32(self): def test_download_with_checksum_mode_crc32c(self): self.parsed_responses = [ self.head_object_response(), + # Mocked GetObject response with a checksum algorithm specified { 'ContentLength': '100', 'LastModified': '00:00:00Z', diff --git a/tests/functional/s3/test_mv_command.py b/tests/functional/s3/test_mv_command.py index 5754dd9093034..33066779d1e10 100644 --- a/tests/functional/s3/test_mv_command.py +++ b/tests/functional/s3/test_mv_command.py @@ -261,6 +261,7 @@ def test_upload_with_checksum_algorithm_crc32(self): def test_download_with_checksum_mode_crc32(self): self.parsed_responses = [ self.head_object_response(), + # Mocked GetObject response with a checksum algorithm specified { 'ContentLength': '100', 'LastModified': '00:00:00Z', diff --git a/tests/functional/s3/test_sync_command.py b/tests/functional/s3/test_sync_command.py index 0453abeda52ca..9db5e64034e5a 100644 --- a/tests/functional/s3/test_sync_command.py +++ b/tests/functional/s3/test_sync_command.py @@ -415,7 +415,7 @@ def test_upload_with_checksum_algorithm_sha256(self): def test_download_with_checksum_mode_sha1(self): self.parsed_responses = [ self.list_objects_response(['bucket']), - # Mocked GetObject response with an included checksum algorithm specified + # Mocked GetObject response with a checksum algorithm specified { 'ContentLength': '100', 'LastModified': '00:00:00Z', @@ -433,7 +433,7 @@ def test_download_with_checksum_mode_sha1(self): def test_download_with_checksum_mode_sha256(self): self.parsed_responses = [ self.list_objects_response(['bucket']), - # Mocked GetObject response with an included checksum algorithm specified + # Mocked GetObject response with a checksum algorithm specified { 'ContentLength': '100', 'LastModified': '00:00:00Z',