test: 覆盖率提升至 100%(fail_under 90→99,13 个防御/边界用例)

This commit is contained in:
lhl
2026-08-09 04:49:29 +08:00
parent 737911cf25
commit 2fbff07d3f
10 changed files with 180 additions and 46 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ branch = true
[tool.coverage.report]
# 覆盖率门槛:低于该值 pytest 失败(红线,防止回归)
fail_under = 90
fail_under = 99
# 跳过 __init__.py 等空文件干扰
skip_empty = true
# 按语句总数降序展示