Files
XingHuo/tests/test_suitability.py
T

18 lines
866 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""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 契约重写")