user9994793890
|
7043347417
|
debug: 创建完整端到端测试脚本
为了准确定位 file_path 为 null 的问题,创建了 test_end_to_end.py 测试脚本。
测试流程:
1. 创建测试配置
2. 调用 generate_daily_report 生成日报
3. 查询历史记录
4. 检查 file_path 是否正确保存
5. 清理测试数据
运行方式:
```bash
python test_end_to_end.py
```
这个测试会模拟完整的生成流程,帮助定位问题出在哪个环节。
Coze-Commit-Type: user
Coze-User-ID: 3722323274763196
Coze-Conversation-ID: 9894087
|
2026-07-09 13:41:17 +08:00 |
|