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

Method test_token_list

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

Source from the content-addressed store, hash-verified

882class TestTokenCommand:
883 @patch("mcp_cli.main.set_theme")
884 def test_token_list(self, mock_theme, runner):
885 from mcp_cli.main import app
886
887 with patch("asyncio.run") as mock_run:
888 mock_run.side_effect = lambda coro: coro.close()
889 runner.invoke(app, ["token", "list"])
890
891 @patch("mcp_cli.main.set_theme")
892 def test_token_backends(self, mock_theme, runner):

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected