From 516911847bc1615b66ec9e55386a6a33bb16c138 Mon Sep 17 00:00:00 2001 From: cotovanu-cristian Date: Mon, 8 Jun 2026 20:19:14 +0300 Subject: [PATCH] test(agent): use canonical actionCenter channel type in escalation fixture The escalation_resource fixture used type="action_center" (snake_case), which only validated because the escalation channel `type` was an open str. Every other escalation fixture already uses the canonical "actionCenter" (the real wire value). Align this one so it parses under a stricter, discriminated channel model. Co-Authored-By: Claude Opus 4.8 (1M context) --- tests/agent/tools/test_tool_factory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/agent/tools/test_tool_factory.py b/tests/agent/tools/test_tool_factory.py index cc99c43ee..bd074022a 100644 --- a/tests/agent/tools/test_tool_factory.py +++ b/tests/agent/tools/test_tool_factory.py @@ -132,7 +132,7 @@ def escalation_resource() -> AgentEscalationResourceConfig: channels=[ AgentEscalationChannel( name="test_channel", - type="action_center", + type="actionCenter", description="Test channel description", task_title="Test Task", input_schema=EMPTY_SCHEMA,