(coro)
| 318 | mock_exec.return_value = CommandResult(success=True, output="server list") |
| 319 | |
| 320 | def _run_and_close(coro): |
| 321 | coro.close() |
| 322 | return CommandResult(success=True, output="server list") |
| 323 | |
| 324 | with patch( |
| 325 | "asyncio.run", |
nothing calls this directly
no test coverage detected