ForcePilot/backend/test/unit/channels/plugins/dingtalk/adapters
Kris b4ea53a447 test: 修复多单元测试用例,完善测试覆盖与校验逻辑
1.  修复钉钉客户端API调用参数格式,将unionid从URL路径移至params
2.  补充服务账号mock的active状态,完善权限校验测试前置条件
3.  更新钉钉消息发送缓存计数断言,修正缓存键数量预期
4.  补充分类阶段测试的日志mock与新增字段校验
5.  新增事务端口的get_session方法测试,完善事务上下文接口覆盖
6.  修正代理访问配置默认权限等级为global,更新对应测试用例
7.  重构权限阶段未知请求处理逻辑,改为失败关闭而非默认管理员权限
8.  更新ack记录失败处理逻辑,改为抛出异常而非仅告警
9.  新增能力校验阶段异常降级测试用例
10. 重构发件箱持久化阶段测试,移除冗余查询并验证结果
11. 新增消息撤回测试的会话ID缓存获取逻辑
12. 修复映射器测试的账号ID匹配逻辑
13. 新增输入幂等阶段的缓存锁依赖,完善并发测试支持
14. 补充围栏代际回滚方法的完整测试覆盖
15. 新增路由匹配注册表的原子替换测试用例
16. 新增会话统计接口的截断状态与总数统计测试
17. 修正配置schema统计计数,更新热更新字段与总条目数
18. 补充调度任务处理器的缓存端口依赖,完善健康检查与锁机制测试
2026-07-09 13:53:26 +08:00
..
__init__.py test: add and fix multi-channel unit tests 2026-07-08 22:59:24 +08:00
test_command_adapter.py test: add and fix multi-channel unit tests 2026-07-08 22:59:24 +08:00
test_directory_adapter.py test: add and fix multi-channel unit tests 2026-07-08 22:59:24 +08:00
test_doctor_adapter.py test: add and fix multi-channel unit tests 2026-07-08 22:59:24 +08:00
test_identity_resolver_adapter.py test: add and fix multi-channel unit tests 2026-07-08 22:59:24 +08:00
test_inbound_adapter.py test: 批量修复单元测试与集成测试用例的各类问题 2026-07-09 04:23:07 +08:00
test_lifecycle_adapter.py test: add and fix multi-channel unit tests 2026-07-08 22:59:24 +08:00
test_mention_adapter.py test: add and fix multi-channel unit tests 2026-07-08 22:59:24 +08:00
test_message_ops_adapter.py test: 修复多单元测试用例,完善测试覆盖与校验逻辑 2026-07-09 13:53:26 +08:00
test_outbound_adapter.py test: 修复多单元测试用例,完善测试覆盖与校验逻辑 2026-07-09 13:53:26 +08:00
test_probeable_adapter.py test: add and fix multi-channel unit tests 2026-07-08 22:59:24 +08:00
test_rich_message_adapter.py test: add and fix multi-channel unit tests 2026-07-08 22:59:24 +08:00
test_session_adapter.py test: add and fix multi-channel unit tests 2026-07-08 22:59:24 +08:00
test_status_adapter.py test: add and fix multi-channel unit tests 2026-07-08 22:59:24 +08:00
test_stream_connector_adapter.py test: 修复多单元测试用例,完善测试覆盖与校验逻辑 2026-07-09 13:53:26 +08:00
test_streaming_adapter.py test: 批量修复单元测试与集成测试用例的各类问题 2026-07-09 04:23:07 +08:00
test_whitelist_adapter.py test: add and fix multi-channel unit tests 2026-07-08 22:59:24 +08:00
test_wizard_adapter.py test: add and fix multi-channel unit tests 2026-07-08 22:59:24 +08:00