MCPcopy Index your code
hub / github.com/cli/cli / TestAuth

Function TestAuth

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

Source from the content-addressed store, hash-verified

42}
43
44func TestAuth(t *testing.T) {
45 var tsEnv testScriptEnv
46 if err := tsEnv.fromEnv(); err != nil {
47 t.Fatal(err)
48 }
49
50 testscript.Run(t, testScriptParamsFor(tsEnv, "auth"))
51}
52
53func TestGPGKeys(t *testing.T) {
54 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