Skip to content

Commit

Permalink
Update tests based on feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
aemous committed Sep 30, 2024
1 parent 870e739 commit d7088bd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions tests/functional/s3/test_cp_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand Down
1 change: 1 addition & 0 deletions tests/functional/s3/test_mv_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
4 changes: 2 additions & 2 deletions tests/functional/s3/test_sync_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand Down

0 comments on commit d7088bd

Please sign in to comment.