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

Method test_token_backends

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

Source from the content-addressed store, hash-verified

890
891 @patch("mcp_cli.main.set_theme")
892 def test_token_backends(self, mock_theme, runner):
893 from mcp_cli.main import app
894
895 with patch("asyncio.run") as mock_run:
896 mock_run.side_effect = lambda coro: coro.close()
897 runner.invoke(app, ["token", "backends"])
898
899
900# ---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected