MCPcopy Create free account
hub / github.com/nathom/streamrip / test_error_handling_with_ssl_errors

Function test_error_handling_with_ssl_errors

tests/test_ssl_verification.py:334–341  ·  view source on GitHub ↗

Test the error handling output with SSL errors.

()

Source from the content-addressed store, hash-verified

332
333
334def 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)

Callers

nothing calls this directly

Calls 1

print_ssl_error_helpFunction · 0.90

Tested by

no test coverage detected