test: consolidate redundant compaction and tool tests

This commit is contained in:
chengyongru authored and chengyongru committed 2026-09-25 14:28:21 +08:00
1 parent 48443ece20
commit c406024b59
6 files changed
+39 -172

No files matched your search

-7
View File
@@ -902,13 +902,6 @@ class TestScratchpadInspection:
assert "step" in result
assert "2" in result
@pytest.mark.asyncio
async def test_inspect_nonexistent_still_returns_not_found(self):
tool = _make_tool()
result = await tool.execute(action="check", key="never_set_key_xyz")
assert "not found" in result
# ---------------------------------------------------------------------------
# sensitive sub-field blocking (Fix #3: API key leak prevention)
# ---------------------------------------------------------------------------