__init__.py |
|
0 |
test_auth.py |
|
7943 |
test_client_server.py |
Return a decorator that wraps a function with a context manager.
|
62959 |
test_framing.py |
|
7474 |
test_handshake.py |
Provide request headers for modification.
Assert that the transformation kept them valid.
|
6887 |
test_http.py |
|
5629 |
test_protocol.py |
Transport mock to control the protocol's inputs and outputs in tests.
It calls the protocol's connection_made and connection_lost methods like
actual transports.
It also calls the protocol's connection_open method to bypass the
WebSocket handshake.
To simulate incoming data, tests call the protocol's data_received and
eof_received methods directly.
They could also pause_writing and resume_writing to test flow control.
|
66541 |
utils.py |
Base class for tests that sets up an isolated event loop for each test.
IsolatedAsyncioTestCase was introduced in Python 3.8 for similar purposes
but isn't a drop-in replacement.
|
2636 |