(self, mock_opts, mock_theme, mock_restore, runner)
| 1429 | @patch("mcp_cli.main.set_theme") |
| 1430 | @patch("mcp_cli.main.process_options", return_value=_make_process_options_return()) |
| 1431 | def test_default_with_theme(self, mock_opts, mock_theme, mock_restore, runner): |
| 1432 | from mcp_cli.main import app |
| 1433 | |
| 1434 | mm = _make_model_manager() |
| 1435 | with patch("mcp_cli.model_management.ModelManager", return_value=mm): |
| 1436 | with patch("asyncio.run") as mock_asyncio: |
| 1437 | mock_asyncio.side_effect = lambda coro: coro.close() |
| 1438 | with patch("mcp_cli.config.load_runtime_config"): |
| 1439 | runner.invoke(app, ["--theme", "dark"]) |
| 1440 | |
| 1441 | @patch("mcp_cli.main.restore_terminal") |
| 1442 | @patch("mcp_cli.main.set_theme") |
nothing calls this directly
no test coverage detected