MCPcopy
hub / github.com/redspread/spread / TestNonInitImage

Function TestNonInitImage

pkg/image/image_test.go:192–197  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

190}
191
192func TestNonInitImage(t *testing.T) {
193 image := new(Image)
194 assert.Len(t, image.Name(), 0, "not setup")
195 assert.Len(t, image.KubeImage(), 0, "not setup")
196 assert.EqualValues(t, docker.PushImageOptions{}, image.PushOptions(nil, false), "not setup")
197}
198
199type testSampleWriter int
200

Callers

nothing calls this directly

Calls 4

NameMethod · 0.80
KubeImageMethod · 0.80
PushOptionsMethod · 0.80
LenMethod · 0.45

Tested by

no test coverage detected