cpython/Lib/test/test_asyncio
Oleg Iarygin 6217864fe5
gh-79156: Add start_tls() method to streams API (#91453)
The existing event loop `start_tls()` method is not sufficient for
connections using the streams API. The existing StreamReader works
because the new transport passes received data to the original protocol.
The StreamWriter must then write data to the new transport, and the
StreamReaderProtocol must be updated to close the new transport
correctly.

The new StreamWriter `start_tls()` updates itself and the reader
protocol to the new SSL transport.

Co-authored-by: Ian Good <icgood@gmail.com>
2022-04-15 14:23:14 +02:00
..
__init__.py bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) 2022-03-22 03:04:36 -07:00
__main__.py
echo.py
echo2.py
echo3.py
functional.py
test_base_events.py bpo-44011: New asyncio ssl implementation (#31275) 2022-02-15 15:04:00 +02:00
test_buffered_proto.py
test_context.py
test_events.py
test_futures.py bpo-46829: Deprecate passing a message into Future.cancel() and Task.cancel() (GH-31840) 2022-03-23 08:43:05 -07:00
test_futures2.py Fix warning: asyncio.events._event_loop_policy was modified by test_asyncio (GH-31253) 2022-02-10 14:57:20 +02:00
test_locks.py bpo-43352: Add a Barrier object in asyncio lib (GH-24903) 2022-03-26 00:01:21 +02:00
test_pep492.py
test_proactor_events.py bpo-43253: Don't call shutdown() for invalid socket handles (GH-31892) 2022-03-15 16:59:02 +02:00
test_protocols.py Fix warning: asyncio.events._event_loop_policy was modified by test_asyncio (GH-31253) 2022-02-10 14:57:20 +02:00
test_queues.py bpo-47076: Make asyncio.Queue stable on slow test boxes (GH-32040) 2022-03-22 16:00:23 +02:00
test_runners.py bpo-39622: Interrupt the main asyncio task on Ctrl+C (GH-32105) 2022-03-30 15:15:06 +03:00
test_selector_events.py bpo-46827: pass sock.type to getaddrinfo in sock_connect (GH-31499) 2022-02-22 22:35:57 +02:00
test_sendfile.py Remove trailing spaces (GH-31695) 2022-03-05 17:47:00 +02:00
test_server.py
test_sock_lowlevel.py bpo-46805: Add low level UDP socket functions to asyncio (GH-31455) 2022-03-13 18:42:29 +02:00
test_ssl.py bpo-46822: Increase timeout for test_create_server_ssl_over_ssl to match underlying timeouts (GH-31502) 2022-02-22 16:25:05 +00:00
test_sslproto.py bpo-46198: Fix test_asyncio.test_sslproto (GH-31801) 2022-03-10 13:36:22 -08:00
test_streams.py gh-79156: Add start_tls() method to streams API (#91453) 2022-04-15 14:23:14 +02:00
test_subprocess.py
test_taskgroups.py bpo-46829: Deprecate passing a message into Future.cancel() and Task.cancel() (GH-31840) 2022-03-23 08:43:05 -07:00
test_tasks.py bpo-47167: Allow overriding a future compliance check in asyncio.Task (GH-32197) 2022-04-01 04:25:15 +03:00
test_threads.py bpo-47104: Rewrite asyncio.to_thread tests to use IsolatedAsyncioTestCase (GH-32086) 2022-03-23 23:17:07 +02:00
test_timeouts.py bpo-46771: Implement asyncio context managers for handling timeouts (GH-31394) 2022-03-10 08:05:20 -08:00
test_transports.py Fix warning: asyncio.events._event_loop_policy was modified by test_asyncio (GH-31253) 2022-02-10 14:57:20 +02:00
test_unix_events.py Fix warning: asyncio.events._event_loop_policy was modified by test_asyncio (GH-31253) 2022-02-10 14:57:20 +02:00
test_waitfor.py bpo-47038: Increase a test timeout for slow CI machines (GH-31951) 2022-03-17 02:54:36 +02:00
test_windows_events.py
test_windows_utils.py
utils.py bpo-46805: Add low level UDP socket functions to asyncio (GH-31455) 2022-03-13 18:42:29 +02:00