oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

1package codex
2
3import (
4 "encoding/json"
5 "testing"
6)
7
8func TestPersonControlProviderTimeout(t *testing.T) {
9 f := fixtureFor(t)
10 var settings struct {
11 MCP map[string]struct {
12 Timeout int `json:"tool_timeout_sec"`
13 } `json:"mcp_servers"`
14 }
15 if err := json.Unmarshal(f.launch.Policy.Settings, &settings); err != nil {
16 t.Fatal(err)
17 }
18 if settings.MCP["equipo"].Timeout != 600 {
19 t.Fatalf("provider tool timeout must exceed five minutes: %+v", settings)
20 }
21}
22