mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-25 13:47:27 +00:00
remove duplicate size assigment [rkhudov review]
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit c0f0b679db
)
This commit is contained in:
parent
98c0931419
commit
93f0753174
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue