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

Function test_bash_output_nonexistent

tests/test_bash_tool.py:211–220  ·  view source on GitHub ↗

Test getting output from non-existent bash process.

()

Source from the content-addressed store, hash-verified

209
210@pytest.mark.asyncio
211async def test_bash_output_nonexistent():
212 """Test getting output from non-existent bash process."""
213 print("\n=== Testing Output From Non-existent Process ===")
214
215 bash_output_tool = BashOutputTool()
216 result = await bash_output_tool.execute(bash_id="nonexistent123")
217
218 assert not result.success
219 assert "not found" in result.error.lower()
220 print(f"Expected error: {result.error}")
221
222
223@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 2

executeMethod · 0.95
BashOutputToolClass · 0.90

Tested by

no test coverage detected