MCPcopy Create free account
hub / github.com/docker/cli / TestMetadataGetNotExisting

Function TestMetadataGetNotExisting

cli/context/store/metadata_test.go:26–30  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

24}
25
26func TestMetadataGetNotExisting(t *testing.T) {
27 testee := metadataStore{root: t.TempDir(), config: testCfg}
28 _, err := testee.get("noexist")
29 assert.ErrorType(t, err, errdefs.IsNotFound)
30}
31
32func TestMetadataCreateGetRemove(t *testing.T) {
33 testDir := t.TempDir()

Callers

nothing calls this directly

Calls 1

getMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…