|
@@ -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")
|
|
out = svc.withdraw_apply(db, "t1", _user("u-applicant"), "a-wd")
|
|
|
assert out.status == "draft"
|
|
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()
|
|
row = db.query(PlVehicleRechargeApply).filter_by(id="a-wd").one()
|
|
|
assert row.status == "draft"
|
|
assert row.status == "draft"
|
|
|
assert row.current_node is None
|
|
assert row.current_node is None
|