test: remove unreachable cases and strengthen weak assertions

This commit is contained in:
chengyongru authored and chengyongru committed 2026-10-22 17:19:20 +08:00
1 parent 169062be11
commit abfe510ce1
25 files changed
+64 -302

No files matched your search

-8
View File
@@ -126,14 +126,6 @@ async def test_skill_command_no_render_as_text(tmp_path: Path) -> None:
assert out.metadata.get("render_as") != "text"
@pytest.mark.asyncio
async def test_skill_command_does_not_list_goal_runtime_protocol(tmp_path: Path) -> None:
loop = _make_loop(tmp_path)
out = await cmd_skill(_ctx(loop))
assert "long-goal" not in out.content
@pytest.mark.asyncio
async def test_skill_command_registered_on_router(tmp_path: Path) -> None:
router = CommandRouter()