(t *testing.T)
| 93 | } |
| 94 | |
| 95 | func prepareObject(t *testing.T) *cluster.LOM { |
| 96 | out := tutils.PrepareObjects(t, tutils.ObjectsDesc{ |
| 97 | CTs: []tutils.ContentTypeDesc{{ |
| 98 | Type: fs.ObjectType, |
| 99 | ContentCnt: 1, |
| 100 | }}, |
| 101 | MountpathsCnt: 1, |
| 102 | ObjectSize: 1024, |
| 103 | }) |
| 104 | lom := &cluster.LOM{} |
| 105 | err := lom.InitFQN(out.FQNs[fs.ObjectType][0], &out.Bck) |
| 106 | tassert.CheckFatal(t, err) |
| 107 | err = lom.Load(false, false) |
| 108 | tassert.CheckFatal(t, err) |
| 109 | return lom |
| 110 | } |
no test coverage detected