Skip to content

Commit cce8367

Browse files
committed
test: update health block test to reflect deterministic behavior
Scan time is excluded by default from health blocks to ensure deterministic output for idempotent inject operations
1 parent 65f574f commit cce8367

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/test_summary.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,8 @@ def test_generate_health_block_basic(self) -> None:
446446
assert "**Repo:**" in health_block
447447
assert "**Files:**" in health_block
448448
assert "**Lines:**" in health_block
449-
assert "⚡ Scan time:" in health_block
449+
# Scan time is excluded by default for determinism
450+
assert "⚡ Scan time:" not in health_block
450451

451452
def test_generate_health_block_deterministic(self) -> None:
452453
"""Test that health block generation is deterministic."""

0 commit comments

Comments
 (0)