MCPcopy Create free account
hub / github.com/InferCore/InferCore / testConfig

Function testConfig

internal/policy/basic_engine_test.go:11–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9)
10
11func testConfig() *config.Config {
12 return &config.Config{
13 Tenants: []config.TenantConfig{
14 {
15 ID: "team-a",
16 Class: "premium",
17 Priority: "high",
18 BudgetPerRequest: 5,
19 RateLimitRPS: 1,
20 },
21 },
22 }
23}
24
25func TestBasicEngine_AgentRejectedWhenFeatureOff(t *testing.T) {
26 engine := NewBasicEngine(testConfig())

Calls

no outgoing calls

Tested by

no test coverage detected