From 1410b01a33a04e2d48235d9ebb9cffb0fb4a9965 Mon Sep 17 00:00:00 2001 From: MarwaBS Date: Sun, 5 Jul 2026 22:45:39 -0400 Subject: [PATCH] test: make the runtime-honesty docstring count-free (re-audit residual) TestClaimHonesty.test_suite_runtime_claim_is_honest carried a hardcoded '(334 tests)' in its docstring. The test asserts the README's ~5-10s runtime claim; the exact test count is irrelevant to what it checks and rots the moment the suite grows (it already had). Drop the number and say why, so the docstring can't drift out of date again. Docstring-only: no behavioral change; the 5 TestClaimHonesty assertions still pass, ruff check / ruff format --check clean. --- tests/test_app_smoke.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_app_smoke.py b/tests/test_app_smoke.py index 4f06887..a9454d7 100644 --- a/tests/test_app_smoke.py +++ b/tests/test_app_smoke.py @@ -361,8 +361,9 @@ def test_model_size_claims_are_honest(self): assert "~90 MB" in self._readme() def test_suite_runtime_claim_is_honest(self): - """The hermetic suite measures ~5-9 s on a developer laptop - (334 tests), not '~1-2 seconds'.""" + """The hermetic suite measures ~5-9 s on a developer laptop, + not '~1-2 seconds'. (Deliberately count-free: a hardcoded test + count here would rot the moment the suite grows.)""" readme = self._readme() assert "~1–2 seconds" not in readme assert "~5–10 seconds" in readme