summaryrefslogtreecommitdiffhomepage
path: root/test/test_node_websockets.py (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-02-21Tests: switched to using f-strings.Andrei Zeliankou1-5/+5
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-04-11Tests: style.Andrei Zeliankou1-46/+44
2021-10-18Tests: style.Andrei Zeliankou1-1/+0
2021-04-05Tests: style.Andrei Zeliankou1-96/+101
2021-03-24Tests: fixed racing condition in websocket test 5_15.Max Romanov1-3/+11
Test case: "send a text message split into two fragments, then a continuation frame with FIN = false where there is nothing to continue, then an unfragmented text message, all sent in one chop". The test case investigates immediate connection closing since there is no message to continue. The mirror server may send a response for the first frame before the test сontinuation frame is received by the router. In this case, the test will receive a text frame before the close frame.
2021-01-13Tests: style.Andrei Zeliankou1-1/+0
2020-12-08Tests: skip_alert() converted to the fixture.Andrei Zeliankou1-2/+2
2020-12-06Tests: options moved to the separate class.Andrei Zeliankou1-1/+1
This change is necessary to separate the logic and prevent possible circular dependency.
2020-10-19Tests: fixed unit.log print.Andrei Zeliankou1-2/+0
2020-10-07Tests: minor fixes.Andrei Zeliankou1-2/+4
2020-09-16Tests: migrated to the pytest.Andrei Zeliankou1-132/+95
2020-05-15Tests: style.Andrei Zeliankou1-1/+2
2020-04-24Tests: introduced module version specification in prerequisites.Andrei Zeliankou1-1/+1
2020-04-14Tests: minor fixes and style.Andrei Zeliankou1-13/+13
2020-03-30Fixing application process infinite loop.Max Romanov1-1/+1
Main process exiting before app process init may have caused hanging.
2019-11-13Tests: fixed websocket tests.Andrei Zeliankou1-29/+14
2019-09-14Tests: refactored prerequisites model.Andrey Zelenkov1-1/+1
2019-09-02Tests: fixed recv_bytes() in websockets.py.Andrey Zelenkov1-2/+0
2019-09-02Tests: removed duplicate websocket tests.Andrey Zelenkov1-80/+0
2019-09-02Tests: prevented writing non-chopped frames to the closed socket.Andrey Zelenkov1-1/+0
2019-08-30Tests: websockets style fixes.Andrey Zelenkov1-239/+207
2019-08-22Tests: removed keepalive_interval for websocket tests.Andrey Zelenkov1-4/+10
Also increased read_timeout in frame_read() for slow hosts.
2019-08-22Tests: Node.js websockets tests tuned.Andrey Zelenkov1-3/+14
2019-08-22Tests: Node.js websockets.Andrey Zelenkov1-0/+1568