feat(shipping-notice): 收敛订单处理状态与履约门禁
This commit is contained in:
1 parent
bffcd55b40
commit
70dd0051b8
153 files changed
+10916
-4296
No files matched your search
@@ -81,12 +81,12 @@ def _fake_job(job_id=928, status='failed', domain='shipping_notice', job_type='s
|
||||
('failed', False, 'failed', '业务阻断失败 → failed'),
|
||||
('manual_fallback', True, 'retryable', 'manual_fallback retryable → retryable'),
|
||||
('failed', True, 'retryable', '技术失败 retryable → retryable'),
|
||||
('idle', False, 'idle', 'Idle → idle(默认)'),
|
||||
('idle', False, 'waiting_human', 'Idle automation → waiting_human(禁止再发 idle)'),
|
||||
],
|
||||
ids=lambda t: t[3] if isinstance(t, tuple) else '',
|
||||
)
|
||||
def test_p3_t3_user_status_seven_value_matrix(automation_status, retryable_flag, expected_user_status, label):
|
||||
"""[P3 T3] project_case_user_status 七值归一化与 Q12 invariants 一致。"""
|
||||
def test_p3_t3_user_status_f2_six_value_matrix(automation_status, retryable_flag, expected_user_status, label):
|
||||
"""[P3 T3] project_case_user_status F2 六值;默认人工等待 waiting_human。"""
|
||||
from app.services.shipping_notice.reconciliation_projector import project_case_user_status
|
||||
|
||||
case = _fake_case(status='draft')
|
||||
|
||||
Reference in new issue
Block a user