diff --git a/test_plan_logic_state.py b/test_plan_logic_state.py index de6175d..4628dd6 100644 --- a/test_plan_logic_state.py +++ b/test_plan_logic_state.py @@ -41,8 +41,8 @@ def main(): coverage=6, why="预测中位数变化 +1%,在阈值之内")} st = plan._logic_state_of("SH600000", evd, seg_of, seg_view, broker, DS) # noqa: SLF001 t("三路都在且无负面 -> 逻辑成立", st["state"] == ls.STATE_HOLD) - t("四路都记了名,缺的那一路写明是公司事件", - len(st["paths"]) == 4 and ls.PATH_EVENT in st["missing"]) + t("五路都记了名,缺的两路写明是公司事件与公司质地(没报告)", + len(st["paths"]) == 5 and ls.PATH_EVENT in st["missing"] and ls.PATH_COMPANY in st["missing"]) print("取数缺席时不断产") st = plan._logic_state_of("SH600000", {}, {}, {}, {}, DS) # noqa: SLF001