Test exception during kill.
(mock_run, mock_platform)
| 345 | @patch("launcher.utils.platform.system", return_value="Linux") |
| 346 | @patch("launcher.utils.subprocess.run") |
| 347 | def test_kill_process_exception(mock_run, mock_platform): |
| 348 | """Test exception during kill.""" |
| 349 | mock_run.side_effect = RuntimeError("Unexpected error") |
| 350 | |
| 351 | success = kill_process_interactive(1234) |
| 352 | |
| 353 | assert success is False |
| 354 | |
| 355 | |
| 356 | # ==================== input_with_timeout TESTS ==================== |
nothing calls this directly
no test coverage detected