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

Function is_disabled

tests/config/test_cli_options.py:391–392  ·  view source on GitHub ↗
(server_name)

Source from the content-addressed store, hash-verified

389 mock_pm = MagicMock()
390
391 def is_disabled(server_name):
392 return server_name == "Server2"
393
394 mock_pm.is_server_disabled.side_effect = is_disabled
395 mock_pref_manager.return_value = mock_pm

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected