remove duplicate size assigment [rkhudov review]

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit c0f0b679db)
This commit is contained in:
Matt Benjamin 2024-06-22 17:42:21 -04:00 committed by Casey Bodley
parent 98c0931419
commit 93f0753174

View file

@ -13491,7 +13491,6 @@ def test_multipart_checksum_sha256():
assert 'SHA256' == response['ChecksumAlgorithm'] assert 'SHA256' == response['ChecksumAlgorithm']
upload_id = response['UploadId'] upload_id = response['UploadId']
size = 1024
body = FakeWriteFile(size, 'A') body = FakeWriteFile(size, 'A')
part_sha256sum = 'arcu6553sHVAiX4MjW0j7I7vD4w6R+Gz9Ok0Q9lTa+0=' part_sha256sum = 'arcu6553sHVAiX4MjW0j7I7vD4w6R+Gz9Ok0Q9lTa+0='
response = client.upload_part(UploadId=upload_id, Bucket=bucket, Key=key, PartNumber=1, Body=body, ChecksumAlgorithm='SHA256', ChecksumSHA256=part_sha256sum) response = client.upload_part(UploadId=upload_id, Bucket=bucket, Key=key, PartNumber=1, Body=body, ChecksumAlgorithm='SHA256', ChecksumSHA256=part_sha256sum)
@ -13508,7 +13507,6 @@ def test_multipart_checksum_sha256():
assert 'SHA256' == response['ChecksumAlgorithm'] assert 'SHA256' == response['ChecksumAlgorithm']
upload_id = response['UploadId'] upload_id = response['UploadId']
size = 1024
body = FakeWriteFile(size, 'A') body = FakeWriteFile(size, 'A')
part_sha256sum = 'arcu6553sHVAiX4MjW0j7I7vD4w6R+Gz9Ok0Q9lTa+0=' part_sha256sum = 'arcu6553sHVAiX4MjW0j7I7vD4w6R+Gz9Ok0Q9lTa+0='
response = client.upload_part(UploadId=upload_id, Bucket=bucket, Key=key, PartNumber=1, Body=body, ChecksumAlgorithm='SHA256', ChecksumSHA256=part_sha256sum) response = client.upload_part(UploadId=upload_id, Bucket=bucket, Key=key, PartNumber=1, Body=body, ChecksumAlgorithm='SHA256', ChecksumSHA256=part_sha256sum)