diff --git a/scripts/test_batch6_units.py b/scripts/test_batch6_units.py index 4a522d4..044cc80 100644 --- a/scripts/test_batch6_units.py +++ b/scripts/test_batch6_units.py @@ -570,7 +570,8 @@ def run(): # 加表就要来这里 +1 —— 这一行是 DDL 与代码之间唯一的哨兵, 它不动就说明新表没进 # ddl_pms_v1.sql (init_db 只认这个文件, 建不出来的表在实机上才会报"表不存在") # (2026-08-18: +pms_macro_signal 宏观信号日快照 → 18) - eq(len([1 for k, _, _ in stmts if k == "table"]), 18) + # (2026-08-28: +pms_nav_daily 每日净值快照·公示导出 → 19) + eq(len([1 for k, _, _ in stmts if k == "table"]), 19) eq(len([1 for k, _, _ in stmts if k == "seed"]), 1) @case("通道三表的 SQL 全部单表合规") diff --git a/scripts/test_wiring.py b/scripts/test_wiring.py index 2daa62d..e77c8ff 100644 --- a/scripts/test_wiring.py +++ b/scripts/test_wiring.py @@ -622,11 +622,12 @@ def _(): "intraday_exec", "signal_digest", "t0_close", "daily_settle", "daily_report", "macro_scan", # 2026-08-18 +宏观择时 09:35 - "strategy_attach"}, names # 2026-08-25 +策略自动挂载 09:40 + "strategy_attach", # 2026-08-25 +策略自动挂载 09:40 + "nav_snapshot"}, names # 2026-08-28 +公示净值快照 15:20 tasks = set(sch.celery_app.tasks) for t in ("pms.premarket", "pms.command_poll", "pms.replay_fills", "pms.daily_settle", "pms.daily_report", "pms.t0_close", "pms.intraday_exec", "pms.signal_digest", - "pms.plan_pull", "pms.macro_scan", "pms.strategy_attach"): + "pms.plan_pull", "pms.macro_scan", "pms.strategy_attach", "pms.nav_snapshot"): assert t in tasks, t assert sch.in_session(datetime(2026, 7, 27, 10, 0)) is True assert sch.in_session(datetime(2026, 7, 27, 12, 0)) is False