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

Function createTestRequestWithLock

tests/unit/api/bucketPut.js:162–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160 });
161
162 const createTestRequestWithLock = status => ({
163 bucketName,
164 namespace,
165 url: '/',
166 post: '',
167 headers: {
168 'host': `${bucketName}.s3.amazonaws.com`,
169 'x-amz-bucket-object-lock-enabled': `${status}`,
170 },
171 });
172
173 const validObjLockVals = ['True', 'true', 'False', 'false'];
174

Callers 1

bucketPut.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected