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

Method setup_method

tests/adapters/test_interactive_adapter.py:88–92  ·  view source on GitHub ↗

Set up test environment.

(self)

Source from the content-addressed store, hash-verified

86 """Test the interactive command adapter."""
87
88 def setup_method(self):
89 """Set up test environment."""
90 # Clear the global registry
91 registry.clear()
92 self.adapter = InteractiveCommandAdapter()
93
94 @pytest.mark.asyncio
95 async def test_handle_simple_command(self):

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45

Tested by

no test coverage detected