fix: align ppt auto generation targets
All checks were successful
CD Pipeline / deploy (push) Successful in 1m4s

This commit is contained in:
OoO
2026-05-18 14:39:43 +08:00
parent 45af902b63
commit b8ca756090
4 changed files with 32 additions and 12 deletions

View File

@@ -19,14 +19,15 @@ def test_build_defined_ppt_jobs_uses_latest_date():
assert by_type["quarterly"].sub_arg == "2026/Q2"
assert by_type["half_yearly"].sub_arg == "2026/H1"
assert by_type["annual"].sub_arg == "2026"
assert by_type["strategy"].sub_arg == "2026/05"
assert by_type["strategy"].sub_arg == "2026/05/01-2026/05/11"
assert by_type["market_intel"].sub_arg == "2026/05/11 起一週"
assert by_type["competitor"].sub_arg == "monthly"
assert by_type["promo"].sub_arg == "2026/05/05-2026/05/11"
assert by_type["strategy"].expected_params == {
"report_type": "strategy",
"start": "2026/05/01",
"end": "2026/05/31",
"label": "2026/05 月策略",
"end": "2026/05/11",
"label": "2026/05 月策略(截至 05/11",
}