MCPcopy Index your code
hub / github.com/MiniMax-AI/Mini-Agent / test_bash_kill_nonexistent

Function test_bash_kill_nonexistent

tests/test_bash_tool.py:198–207  ·  view source on GitHub ↗

Test killing a non-existent bash process.

()

Source from the content-addressed store, hash-verified

196
197@pytest.mark.asyncio
198async def test_bash_kill_nonexistent():
199 """Test killing a non-existent bash process."""
200 print("\n=== Testing Kill Non-existent Process ===")
201
202 bash_kill_tool = BashKillTool()
203 result = await bash_kill_tool.execute(bash_id="nonexistent123")
204
205 assert not result.success
206 assert "not found" in result.error.lower()
207 print(f"Expected error: {result.error}")
208
209
210@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 2

executeMethod · 0.95
BashKillToolClass · 0.90

Tested by

no test coverage detected