The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(skills): assert the missing-ledger case emits no warning records
kshitijk4poord3684a7d79b7
diff --git a/tests/tools/test_skill_ledger_delta.py b/tests/tools/test_skill_ledger_delta.pyindex e533b2efa8e..9b416a46d41 100644--- a/tests/tools/test_skill_ledger_delta.py+++ b/tests/tools/test_skill_ledger_delta.py@@ -5,6 +5,7 @@ file in both lists is dead weight; a 4,000-file skill cost 1.5 MB of ledger per"""import json+import loggingimport osfrom pathlib import Path@@ -99,7 +100,7 @@ def test_list_entries_is_silent_when_the_ledger_is_merely_missing(ledger_home, cfrom tools import skill_ledgerassert not skill_ledger.ledger_path().exists()assert skill_ledger.list_entries() == []- assert "listing empty" not in caplog.text+ assert not [r for r in caplog.records if r.levelno >= logging.WARNING]def test_gc_blobs_removes_only_unreferenced(ledger_home):