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

Method setup

tests/test_command_consistency.py:16–18  ·  view source on GitHub ↗

Register commands before each test.

(self)

Source from the content-addressed store, hash-verified

14
15 @pytest.fixture(autouse=True)
16 def setup(self):
17 """Register commands before each test."""
18 register_all_commands()
19
20 def test_shlex_parsing_preserves_json(self):
21 """Test that shlex parsing preserves JSON strings with spaces."""

Callers

nothing calls this directly

Calls 1

register_all_commandsFunction · 0.90

Tested by

no test coverage detected