可验证报告那条新测试按列名找结果表的格:S8 起出处面板写结果表记的列名(占变化的比重),不把列 id(share)当叫法

This commit is contained in:
ThearchyHelios
2026-10-21 16:27:43 +00:00
parent 7b47ce1724
commit 30423a0686
@@ -353,5 +353,6 @@ def test_the_verifiable_report_renders_the_conclusion_format():
assert out["verified"] == ""
share = next(text for text in out["opened"].values() if "具名的数「top_share」" in text)
assert "正文显示61.9%(与按显示规则渲染的结果一致)" in share
cell = next(text for text in out["opened"].values() if "结果表 · 第 1 行 · share" in text)
# 出处面板写结果表记的列名(「占变化的比重」),不把列 id 当叫法
cell = next(text for text in out["opened"].values() if "结果表 · 第 1 行 · 占变化的比重" in text)
assert "正文显示61.9%" in cell