test: 覆盖率提升至 100%(fail_under 90→99,13 个防御/边界用例)
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ branch = true
|
||||
|
||||
[tool.coverage.report]
|
||||
# 覆盖率门槛:低于该值 pytest 失败(红线,防止回归)
|
||||
fail_under = 90
|
||||
fail_under = 99
|
||||
# 跳过 __init__.py 等空文件干扰
|
||||
skip_empty = true
|
||||
# 按语句总数降序展示
|
||||
|
||||
Reference in New Issue
Block a user