MCPcopy Index your code
hub / github.com/scality/cloudserver / assertPartList

Function assertPartList

tests/multipleBackend/objectPutCopyPart.js:175–181  ·  view source on GitHub ↗
(partList, uploadId)

Source from the content-addressed store, hash-verified

173}
174
175function assertPartList(partList, uploadId) {
176 assert.strictEqual(partList.UploadId, uploadId);
177 assert.strictEqual(partList.Parts.length, 1);
178 assert.strictEqual(partList.Parts[0].ETag, `"${partETag}"`);
179 assert.strictEqual(partList.Parts[0].PartNumber, 1);
180 assert.strictEqual(partList.Parts[0].Size, 11);
181}
182
183describeSkipIfE2E('ObjectCopyPutPart API with multiple backends',
184function testSuite() {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected