MCPcopy Index your code
hub / github.com/larksuite/cli / TestPersistentPreRunE_ConfigSubcommands

Function TestPersistentPreRunE_ConfigSubcommands

cmd/root_test.go:67–76  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

65}
66
67func TestPersistentPreRunE_ConfigSubcommands(t *testing.T) {
68 f, _, _, _ := cmdutil.TestFactory(t, nil)
69
70 configCmd := cmdconfig.NewCmdConfig(f)
71 for _, sub := range configCmd.Commands() {
72 if !cmdutil.IsAuthCheckDisabled(sub) {
73 t.Errorf("expected config subcommand %q to inherit disabled auth check", sub.Name())
74 }
75 }
76}
77
78func TestRootLong_AgentSkillsLinkTargetsReadmeSection(t *testing.T) {
79 // The human skills-install guidance now lives in the root usage-template

Callers

nothing calls this directly

Calls 3

TestFactoryFunction · 0.92
IsAuthCheckDisabledFunction · 0.92
NameMethod · 0.65

Tested by

no test coverage detected