MCPcopy Create free account
hub / github.com/IBM/mcp-cli / test_models_no_provider

Method test_models_no_provider

tests/cli/test_main_coverage.py:746–752  ·  view source on GitHub ↗
(self, mock_theme, runner)

Source from the content-addressed store, hash-verified

744class TestModelsCommand:
745 @patch("mcp_cli.main.set_theme")
746 def test_models_no_provider(self, mock_theme, runner):
747 from mcp_cli.main import app
748
749 mm = _make_model_manager()
750 with patch("mcp_cli.model_management.ModelManager", return_value=mm):
751 with patch("mcp_cli.main.output"):
752 runner.invoke(app, ["models"])
753
754 @patch("mcp_cli.main.set_theme")
755 def test_models_with_provider(self, mock_theme, runner):

Callers

nothing calls this directly

Calls 1

_make_model_managerFunction · 0.70

Tested by

no test coverage detected