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

Method test_command_execution

tests/commands/test_base.py:172–178  ·  view source on GitHub ↗

Test command execution.

(self)

Source from the content-addressed store, hash-verified

170
171 @pytest.mark.asyncio
172 async def test_command_execution(self):
173 """Test command execution."""
174 cmd = DummyCommand()
175 result = await cmd.execute()
176
177 assert result.success is True
178 assert result.output == "Test executed"
179
180 def test_format_output(self):
181 """Test output formatting."""

Callers

nothing calls this directly

Calls 2

executeMethod · 0.95
DummyCommandClass · 0.70

Tested by

no test coverage detected