test(boot): let the counted pm check pass keyword arguments through

activate() now tells check() whether to include the venv verdict; the
no-argument stand-in raised TypeError, which startup swallows, so the
check was never counted.
This commit is contained in:
ethernet
2026-09-24 18:18:28 -04:00
parent 7581ef4866
commit 950401d507

View File

@@ -32,8 +32,8 @@ def test_each_start_checks_pm_once_before_dispatch(surface, tmp_path, monkeypatc
checked = []
real_check = pm.check
def check():
problems = real_check()
def check(**kwargs):
problems = real_check(**kwargs)
assert problems
checked.append(problems)
return problems