Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(63599)

Delta Between Two Patch Sets: Lib/test/test_httplib.py

Issue 22417: PEP 476: verify HTTPS certificates by default
Left Patch Set: Created 4 years, 7 months ago
Right Patch Set: Created 4 years, 7 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Lib/ssl.py ('k') | Lib/test/test_ssl.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 import errno 1 import errno
2 from http import client 2 from http import client
3 import io 3 import io
4 import os 4 import os
5 import array 5 import array
6 import socket 6 import socket
7 7
8 import unittest 8 import unittest
9 TestCase = unittest.TestCase 9 TestCase = unittest.TestCase
10 10
(...skipping 1271 matching lines...) Expand 10 before | Expand all | Expand 10 after
1282 self.assertTrue(b'Host: destination.com' in conn.sock.data) 1282 self.assertTrue(b'Host: destination.com' in conn.sock.data)
1283 1283
1284 def test_main(verbose=None): 1284 def test_main(verbose=None):
1285 support.run_unittest(HeaderTests, OfflineTest, BasicTest, TimeoutTest, 1285 support.run_unittest(HeaderTests, OfflineTest, BasicTest, TimeoutTest,
1286 HTTPSTest, RequestBodyTest, SourceAddressTest, 1286 HTTPSTest, RequestBodyTest, SourceAddressTest,
1287 HTTPResponseTest, ExtendedReadTest, 1287 HTTPResponseTest, ExtendedReadTest,
1288 ExtendedReadTestChunked, TunnelTests) 1288 ExtendedReadTestChunked, TunnelTests)
1289 1289
1290 if __name__ == '__main__': 1290 if __name__ == '__main__':
1291 test_main() 1291 test_main()
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+