Test the error handling output with SSL errors.
()
| 332 | |
| 333 | |
| 334 | def test_error_handling_with_ssl_errors(): |
| 335 | """Test the error handling output with SSL errors.""" |
| 336 | with patch("sys.stdout"), patch("sys.exit") as mock_exit: |
| 337 | # Call the function |
| 338 | print_ssl_error_help() |
| 339 | |
| 340 | # Check exit code |
| 341 | mock_exit.assert_called_once_with(1) |
nothing calls this directly
no test coverage detected