18 lines
866 B
Python
18 lines
866 B
Python
"""suitability 单测(占位 · AL-07 按 main 契约重写)。
|
||
|
||
AL-05(对齐 main 基准)将判定内核整体替换为 core_ro.check_suitability
|
||
(C×R 矩阵数据驱动 / match_result 五值 / FM-01 网点确认 / FM-03 expires_at),
|
||
原 SUIT-001~008 纯函数测试断言全部作废(修改报告 §2 AL-07 预告)。
|
||
|
||
AL-07 重写清单(见 docs/项目框架设计/修改报告-对齐main基准.md):
|
||
- 七判定路径各正反例(not_found / risk_expired / professional_exempt /
|
||
矩阵 forbidden / allowed / allowed_with_disclosure / age_branch_confirm)
|
||
- build_suitability_log_row 逐字段映射断言
|
||
- rule_refs 组合(过期+等级不匹配 → ["JR-AST-012","FM-03"])
|
||
- sqlite/MySQL 双方言 fixture
|
||
"""
|
||
|
||
import pytest
|
||
|
||
pytestmark = pytest.mark.skip(reason="AL-05 换核后旧断言作废,AL-07 按 main 契约重写")
|