diff --git a/tests/functional/s3/test_cp_command.py b/tests/functional/s3/test_cp_command.py index d64f9a5f2df1..683a426aad1c 100644 --- a/tests/functional/s3/test_cp_command.py +++ b/tests/functional/s3/test_cp_command.py @@ -791,9 +791,9 @@ def test_multipart_upload_with_checksum_algorithm_crc32(self): self.assertEqual(self.operations_called[1][0].name, 'UploadPart') self.assertEqual(self.operations_called[1][1]['ChecksumAlgorithm'], 'CRC32') self.assertEqual(self.operations_called[3][0].name, 'CompleteMultipartUpload') - self.assertIn({'ETag': 'foo-e1', 'ChecksumCRC32': 'foo-1', 'PartNumber': 1}, + self.assertIn({'ETag': 'foo-e1', 'ChecksumCRC32': 'foo-1', 'PartNumber': mock.ANY}, self.operations_called[3][1]['MultipartUpload']['Parts']) - self.assertIn({'ETag': 'foo-e2', 'ChecksumCRC32': 'foo-2', 'PartNumber': 2}, + self.assertIn({'ETag': 'foo-e2', 'ChecksumCRC32': 'foo-2', 'PartNumber': mock.ANY}, self.operations_called[3][1]['MultipartUpload']['Parts']) def test_copy_with_checksum_algorithm_crc32(self):