Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ MockInit
Function
MockInit
internal/keyring/keyring.go:79–81 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
77
}
78
79
func
MockInit() {
80
keyring.MockInit()
81
}
82
83
func
MockInitWithError(err error) {
84
keyring.MockInitWithError(err)
Callers
5
TestRefreshTelemetry
Function · 0.92
NewIsolatedTestConfig
Function · 0.92
TestMigrationSecureStorage
Function · 0.92
TestMigrationReturnsSuccessfullyWhenAnonymousUserExists
Function · 0.92
TestMigrationRemovesHostsWithInvalidTokens
Function · 0.92
Calls
no outgoing calls
Tested by
4
TestRefreshTelemetry
Function · 0.74
TestMigrationSecureStorage
Function · 0.74
TestMigrationReturnsSuccessfullyWhenAnonymousUserExists
Function · 0.74
TestMigrationRemovesHostsWithInvalidTokens
Function · 0.74