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

Function checkPut

tests/multipleBackend/objectPut.js:137–143  ·  view source on GitHub ↗
(testCase)

Source from the content-addressed store, hash-verified

135 }
136
137 function checkPut(testCase) {
138 if (isDataStoredInMem(testCase)) {
139 assert.deepStrictEqual(ds[ds.length - 1].value, body);
140 } else {
141 assert.deepStrictEqual(ds, []);
142 }
143 }
144
145 afterEach(() => {
146 cleanup();

Callers 1

objectPut.jsFile · 0.85

Calls 1

isDataStoredInMemFunction · 0.85

Tested by

no test coverage detected