)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"35a53fcb45217973cefee3f39c0a27ba5b345e58","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"0c7fa469_3e6bf282","updated":"2023-03-20 23:57:53.000000000","message":"I\u0027ll plan to squash it into the parent","commit_id":"0bab7f43b171ffa9783e9005dd541580b58261f9"}],"test/unit/test_swiftclient.py":[{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"35a53fcb45217973cefee3f39c0a27ba5b345e58","unresolved":true,"context_lines":[{"line_number":2186,"context_line":"                mock.patch(\u0027swiftclient.client.get_auth_1_0\u0027) as mock_auth:"},{"line_number":2187,"context_line":"            mock_auth.return_value \u003d (\u0027http://mock.com\u0027, \u0027mock_token\u0027)"},{"line_number":2188,"context_line":"            fake_http_connection.side_effect \u003d SSLError("},{"line_number":2189,"context_line":"                \"something something cert\")"},{"line_number":2190,"context_line":"            self.assertRaises(socket.error, conn.head_account)"},{"line_number":2191,"context_line":"        self.assertEqual(mock_auth.call_count, 1)"},{"line_number":2192,"context_line":"        self.assertEqual(conn.attempts, 1)"}],"source_content_type":"text/x-python","patch_set":1,"id":"454c4314_9dcc358d","line":2189,"updated":"2023-03-20 23:57:53.000000000","message":"If we wanted to go more realistic:\n\n HTTPSConnectionPool(host\u003d\u0027saio\u0027, port\u003d443): Max retries exceeded with url: /auth/v1.0 (Caused by SSLError(SSLCertVerificationError(1, \u0027[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:997)\u0027)))\n\nor\n\n HTTPSConnectionPool(host\u003d\u0027expired.badssl.com\u0027, port\u003d443): Max retries exceeded with url: / (Caused by SSLError(SSLCertVerificationError(1, \u0027[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:997)\u0027)))\n\nor\n\n HTTPSConnectionPool(host\u003d\u0027revoked.badssl.com\u0027, port\u003d443): Max retries exceeded with url: / (Caused by SSLError(SSLCertVerificationError(1, \u0027[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:997)\u0027)))\n\nor\n\n HTTPSConnectionPool(host\u003d\u0027wrong.host.badssl.com\u0027, port\u003d443): Max retries exceeded with url: / (Caused by SSLError(CertificateError(\"hostname \u0027wrong.host.badssl.com\u0027 doesn\u0027t match either of \u0027*.badssl.com\u0027, \u0027badssl.com\u0027\")))\n\nActually, that last one makes me realize my heuristic of `\u0027cert\u0027 in str(err)` will be insufficient...","commit_id":"0bab7f43b171ffa9783e9005dd541580b58261f9"}]}
