MCPcopy Create free account
hub / github.com/basecamp/hey-cli / TestLoadNotFound

Function TestLoadNotFound

internal/auth/store_test.go:48–54  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

46 return "", keyringlib.ErrNotFound
47 }
48 return value, nil
49}
50
51func (f *fakeKeyring) Delete(service, user string) error {
52 if f.deleteErr != nil {
53 return f.deleteErr
54 }
55 delete(f.values, service+"/"+user)
56 return nil
57}

Callers

nothing calls this directly

Calls 2

testStoreFunction · 0.85
LoadMethod · 0.80

Tested by

no test coverage detected