]> git.ipfire.org Git - thirdparty/tornado.git/commit
websocket: Expand testing of next-ping calculation 3513/head
authorBen Darnell <ben@bendarnell.com>
Thu, 24 Jul 2025 20:37:48 +0000 (20:37 +0000)
committerBen Darnell <ben@bendarnell.com>
Thu, 24 Jul 2025 20:37:48 +0000 (20:37 +0000)
commit3fc1d91bbbc6a11160528fffb11105998479a6ba
tree15c5b27e712f2d71ecbba920d24a61377923384f
parent56fc23fe20b4f19ac6cfbbb25611ad692e45082b
websocket: Expand testing of next-ping calculation

Includes end-to-end tests that the correct number of pings are sent
(piggybacking on an existing test) and a unit test for the
`ping_sleep_time` calculation.
tornado/test/websocket_test.py
tornado/websocket.py