Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/cli/cli
/ MockInitWithError
Function
MockInitWithError
internal/keyring/keyring.go:80–82 ·
view source on GitHub ↗
(err error)
Source
from the content-addressed store, hash-verified
78
}
79
80
func
MockInitWithError(err error) {
81
keyring.MockInitWithError(err)
82
}
Callers
3
TestLoginSecureStorageWithErrorFallsbackAndReports
Function · 0.92
TestLogoutIgnoresErrorsFromConfigAndKeyring
Function · 0.92
TestMigrationErrorsWhenUnableToGetExpectedSecureToken
Function · 0.92
Calls
no outgoing calls
Tested by
3
TestLoginSecureStorageWithErrorFallsbackAndReports
Function · 0.74
TestLogoutIgnoresErrorsFromConfigAndKeyring
Function · 0.74
TestMigrationErrorsWhenUnableToGetExpectedSecureToken
Function · 0.74