feat: 完善真实采购订单核对与恢复 (#100)
This commit is contained in:
@@ -122,8 +122,13 @@ class TaskDetailViewTest(unittest.TestCase):
|
||||
def test_purchase_recovery_steps_are_clear_chinese(self):
|
||||
cases = {
|
||||
"purchase_dry_run_stopped": "采购演练已在提交前停止",
|
||||
"reconcile_purchase": "只允许核对订单",
|
||||
"reconcile_manual_review": "核对结果不确定,需人工处理",
|
||||
"reconcile_purchase": "订单已提交,只允许核对未付款订单",
|
||||
"purchase_order_matched_pending_report": (
|
||||
"已提交待付款,等待向 Admin 上报"
|
||||
),
|
||||
"reconcile_manual_review": (
|
||||
"订单结果不确定或存在多个候选,需人工处理"
|
||||
),
|
||||
}
|
||||
for step, expected in cases.items():
|
||||
with self.subTest(step=step):
|
||||
|
||||
Reference in New Issue
Block a user