Test basic claude-code install command parsing.
(self)
| 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.""" |
nothing calls this directly
no outgoing calls
no test coverage detected