MCPcopy Create free account
hub / github.com/diillson/chatcli / TestSkillHandlerPin_DisabledModelInvocation

Function TestSkillHandlerPin_DisabledModelInvocation

cli/skill_pin_test.go:113–122  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

111}
112
113func TestSkillHandlerPin_DisabledModelInvocation(t *testing.T) {
114 sh, _ := newPinTestFixture(t, map[string]string{
115 "pin-manual-only": pinFixtureManualOnly,
116 })
117 sh.Pin("pin-manual-only")
118
119 if sh.IsPinned("pin-manual-only") {
120 t.Fatal("skills with disable-model-invocation must not be pinnable")
121 }
122}
123
124func TestSkillHandlerPin_NotFound(t *testing.T) {
125 sh, _ := newPinTestFixture(t, map[string]string{

Callers

nothing calls this directly

Calls 3

newPinTestFixtureFunction · 0.85
PinMethod · 0.80
IsPinnedMethod · 0.80

Tested by

no test coverage detected