test: 修复所有预存的失败测试
- test_auth_routes: monkeypatch 环境为 production 使 phone-session 限速生效 - test_schedule_items_routes: 补充必填 timezone 字段 - test_llm_pricing_service: 更新 deepseek-chat 费率期望值匹配实际 catalog - test_sse_flow_live: 补充 runId 查询参数、改用附件上传 API、修复 history 响应断言、独立 DB session 避免跨事件循环崩溃 - test_agent_prompt: 移除已删除的 project_cli_defaults 断言 - test_toolkit: 更新 action card 断言匹配 module/method 格式
This commit is contained in:
@@ -95,7 +95,7 @@ def test_build_usage_metadata_falls_back_when_provider_cost_incomplete() -> None
|
||||
},
|
||||
)
|
||||
|
||||
assert metadata["cost"] == pytest.approx(0.0023)
|
||||
assert metadata["cost"] == pytest.approx(0.0012)
|
||||
assert metadata["costSource"] == "catalog_fallback_incomplete_provider_cost"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user