MCPcopy Create free account
hub / github.com/PrefectHQ/fastmcp / test_claude_code_basic

Method test_claude_code_basic

tests/cli/test_install.py:46–56  ·  view source on GitHub ↗

Test basic claude-code install command parsing.

(self)

Source from the content-addressed store, hash-verified

44 """Test claude-code install command."""
45
46 def test_claude_code_basic(self):
47 """Test basic claude-code install command parsing."""
48 # Parse command with correct parameter names
49 command, bound, _ = install_app.parse_args(
50 ["claude-code", "server.py", "--name", "test-server"]
51 )
52
53 # Verify parsing was successful
54 assert command is not None
55 assert bound.arguments["server_spec"] == "server.py"
56 assert bound.arguments["server_name"] == "test-server"
57
58 def test_claude_code_with_options(self):
59 """Test claude-code install with various options."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected