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

Function TestPickShellTool_OpenClaw

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

Source from the content-addressed store, hash-verified

459}
460
461func TestPickShellTool_OpenClaw(t *testing.T) {
462 sess := mockSession("openclaw/1.0", openClawTools)
463 if got := PickShellTool(sess); got != "exec" {
464 t.Errorf("expected exec, got %q", got)
465 }
466}
467
468func TestPickShellTool_OpenClaw_OpenAI(t *testing.T) {
469 sess := mockSession("openclaw/1.0", openClawToolsOpenAI)

Callers

nothing calls this directly

Calls 2

mockSessionFunction · 0.85
PickShellToolFunction · 0.85

Tested by

no test coverage detected