MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / TestPickWriteTool_OpenClaw

Function TestPickWriteTool_OpenClaw

internal/sessions/transfer_test.go:489–494  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

487}
488
489func TestPickWriteTool_OpenClaw(t *testing.T) {
490 sess := mockSession("openclaw/1.0", openClawTools)
491 if got := PickWriteTool(sess); got != "write" {
492 t.Errorf("expected write, got %q", got)
493 }
494}
495
496func TestPickWriteTool_OpenClaw_OpenAI(t *testing.T) {
497 sess := mockSession("openclaw/1.0", openClawToolsOpenAI)

Callers

nothing calls this directly

Calls 2

mockSessionFunction · 0.85
PickWriteToolFunction · 0.85

Tested by

no test coverage detected