
CodexandClaude Opus 4.7
dba43e18f9
tests: 新增 check_contain + log_formatter 测试 (41 用例)
- test_check_contain.py:fudai_filter.check_contain 黑名单关键词检查
* 空黑名单 / 命中 / 未命中 / None / 空字符串
* 命中后短路(不继续遍历)
* 黑名单空字符串关键词不误匹配
* 缺 contains_not_want 属性 / broken _log_kv 兜底
- test_log_formatter.py:9 个格式化纯函数
* format_action_log / format_debug_log / format_error_log(前缀 + tag + 字段)
* format_parameters / format_variables / format_call_stack
* format_exception(含 traceback)
* add_colors(默认绿 / red / 未知颜色兜底)
* add_separators(带/不带 label)
* beautify_log_output / colorize_log_line(不抛 + 一致性)
回归:tests/ 308 passed / 1 skipped。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-21 14:45:49 +08:00
..
2026-05-21 14:09:02 +08:00
2026-05-21 14:45:49 +08:00
2026-05-21 14:09:02 +08:00
2026-05-21 14:09:02 +08:00
2026-05-21 14:09:02 +08:00
2026-05-21 14:15:14 +08:00
2026-05-21 14:09:02 +08:00
2026-05-21 14:09:02 +08:00
2026-05-21 14:45:49 +08:00
2026-05-21 14:09:02 +08:00
2026-05-21 14:09:02 +08:00
2026-05-21 14:09:02 +08:00
2026-05-21 14:25:35 +08:00
2026-05-21 14:09:02 +08:00
2026-05-21 14:09:02 +08:00
2026-05-21 14:09:02 +08:00