Test killing a non-existent bash process.
()
| 196 | |
| 197 | @pytest.mark.asyncio |
| 198 | async 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 |
nothing calls this directly
no test coverage detected