From c0f0b679db7f20c44553d6ddf9470afa649d5e37 Mon Sep 17 00:00:00 2001 From: Matt Benjamin Date: Sat, 22 Jun 2024 17:42:21 -0400 Subject: [PATCH] remove duplicate size assigment [rkhudov review] Signed-off-by: Matt Benjamin --- s3tests_boto3/functional/test_s3.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/s3tests_boto3/functional/test_s3.py b/s3tests_boto3/functional/test_s3.py index b8a6142..24301ba 100644 --- a/s3tests_boto3/functional/test_s3.py +++ b/s3tests_boto3/functional/test_s3.py @@ -13491,7 +13491,6 @@ def test_multipart_checksum_sha256(): assert 'SHA256' == response['ChecksumAlgorithm'] upload_id = response['UploadId'] - size = 1024 body = FakeWriteFile(size, 'A') 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) @@ -13508,7 +13507,6 @@ def test_multipart_checksum_sha256(): assert 'SHA256' == response['ChecksumAlgorithm'] upload_id = response['UploadId'] - size = 1024 body = FakeWriteFile(size, 'A') 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)