test(backend): unit/integration tests for automation, otp, neo4j, contract
新增自动化审批状态机/执行器/意图路由/会话管理、OTP 绑定流程、neo4j 客户端、响应契约、置信度门禁、环境门控、Tier1 API 等测试。
This commit is contained in:
@@ -937,11 +937,11 @@ class TestFrontendRenderingLogic:
|
||||
label_map = {
|
||||
"employee": "员工",
|
||||
"agent": "我",
|
||||
"ai": "AI助手",
|
||||
"ai": "Duckula(达寇拉)",
|
||||
}
|
||||
|
||||
assert label_map["employee"] == "员工" or True # 员工消息优先用 sender_name
|
||||
assert label_map["ai"] == "AI助手"
|
||||
assert label_map["ai"] == "Duckula(达寇拉)"
|
||||
|
||||
def test_unknown_msg_type_fallback_icon(self):
|
||||
"""验证未知消息类型的兜底图标。"""
|
||||
|
||||
Reference in New Issue
Block a user