MCPcopy Create free account
hub / github.com/cli/cli / TestAuth

Function TestAuth

acceptance/acceptance_test.go:79–86  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

77}
78
79func TestAuth(t *testing.T) {
80 var tsEnv testScriptEnv
81 if err := tsEnv.fromEnv(); err != nil {
82 t.Fatal(err)
83 }
84
85 testscript.Run(t, testScriptParamsFor(tsEnv, "auth"))
86}
87
88func TestGPGKeys(t *testing.T) {
89 var tsEnv testScriptEnv

Callers

nothing calls this directly

Calls 3

fromEnvMethod · 0.95
testScriptParamsForFunction · 0.85
RunMethod · 0.65

Tested by

no test coverage detected