test: assert current_node attribute on withdraw apply read model

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-09-29 12:09:19 +08:00
1 parent d8df5c47e2
commit c1113cc2ef
1 file changed
+1 -1
@@ -397,7 +397,7 @@ def test_withdraw_in_approval_to_draft_keeps_round_and_approvals(monkeypatch):
out = svc.withdraw_apply(db, "t1", _user("u-applicant"), "a-wd")
assert out.status == "draft"
assert out.currentNode in (None, "")
assert out.current_node in (None, "")
row = db.query(PlVehicleRechargeApply).filter_by(id="a-wd").one()
assert row.status == "draft"
assert row.current_node is None