summaryrefslogtreecommitdiffhomepage
path: root/test/unit/applications/websockets.py (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-06-14Tests: get rid of classes in test files.Andrei Zeliankou1-2/+2
Class usage came from the unittest framework and it was always redundant after migration to the pytest. This commit removes classes from files containing tests to make them more readable and understandable.
2023-02-21Tests: switched to using f-strings.Andrei Zeliankou1-2/+2
Previously, it was necessary to support older versions of Python for compatibility. F-strings were released in Python 3.6. Python 3.5 was marked as unsupported by the end of 2020, so now it's possible to start using f-strings safely for better readability and performance.
2022-10-11Tests: don't try to return response when "no_recv" is True.Andrei Zeliankou1-2/+1
2022-04-11Tests: style.Andrei Zeliankou1-4/+6
2021-04-05Tests: style.Andrei Zeliankou1-11/+7
2020-10-07Tests: minor fixes.Andrei Zeliankou1-2/+1
2020-10-01Tests: added ASGI WebSocket.Max Romanov1-1/+1
2020-09-22Tests: improved response receiving while upgrade.Max Romanov1-4/+1
The patch required to process non-101 response.
2020-09-16Tests: migrated to the pytest.Andrei Zeliankou1-8/+6
2020-05-15Tests: style.Andrei Zeliankou1-4/+5
2020-04-03Tests: added notification on "read_timeout" expiration.Andrei Zeliankou1-2/+14
2020-03-27Tests: increase default "read_timeout" to 60s in message_read().Andrei Zeliankou1-1/+1
2020-03-23Tests: increase default "read_timeout" value to 60s.Andrei Zeliankou1-2/+2
This change is necessary to avoid errors on slow hosts. Also slightly reworked argument passing to the recvall() function.
2019-11-13Tests: fixed websocket tests.Andrei Zeliankou1-5/+10
2019-10-23Tests: improved handshake for websocket tests.Andrey Zelenkov1-6/+14
2019-09-03Tests: increased read_timeout for websockets tests.Andrey Zelenkov1-2/+6
2019-09-02Tests: fixed recv_bytes() in websockets.py.Andrey Zelenkov1-9/+3
2019-09-02Tests: prevented writing non-chopped frames to the closed socket.Andrey Zelenkov1-1/+4
2019-08-30Tests: prevented writing to the closed socket for websocket tests.Andrey Zelenkov1-1/+4
2019-08-30Tests: websockets style fixes.Andrey Zelenkov1-9/+9
2019-08-22Tests: removed keepalive_interval for websocket tests.Andrey Zelenkov1-2/+2
Also increased read_timeout in frame_read() for slow hosts.
2019-08-22Tests: Node.js websockets tests tuned.Andrey Zelenkov1-2/+2
2019-08-22Tests: Node.js websockets.Andrey Zelenkov1-0/+215