Test that version command executes properly.
(self, mock_check)
| 57 | |
| 58 | @patch("fastmcp.cli.cli.check_for_newer_version", return_value=None) |
| 59 | def test_version_command_execution(self, mock_check): |
| 60 | """Test that version command executes properly.""" |
| 61 | # The version command should execute without raising SystemExit |
| 62 | command, bound, _ = app.parse_args(["version"]) |
| 63 | command() # Should not raise |
| 64 | |
| 65 | def test_version_command_parsing(self): |
| 66 | """Test that the version command parses arguments correctly.""" |
nothing calls this directly
no outgoing calls
no test coverage detected