feat: add recharge workflow models and schema statuses
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
94dd52832b
commit
bdd67d44d9
7 files changed
+147
-26
No files matched your search
@@ -0,0 +1,8 @@
|
||||
"""车辆充值审批工作流:状态常量与核心流转单元测试。"""
|
||||
from app.schemas.pl.vehicle_recharge import APPLY_STATUSES, NODE_ACTION_TYPES, RECHARGE_TYPES
|
||||
|
||||
|
||||
def test_apply_statuses_include_workflow_states():
|
||||
assert {"draft", "in_approval", "rejected", "disbursed", "cancelled"} <= APPLY_STATUSES
|
||||
assert {"approve", "disburse"} <= NODE_ACTION_TYPES
|
||||
assert {"etc", "fuel"} <= RECHARGE_TYPES
|
||||
Reference in new issue
Block a user