]> git.ipfire.org Git - thirdparty/tornado.git/commit
websocket: Expand testing of next-ping calculation 3528/head
authorBen Darnell <ben@bendarnell.com>
Thu, 24 Jul 2025 20:37:48 +0000 (20:37 +0000)
committerBen Darnell <ben@bendarnell.com>
Thu, 7 Aug 2025 20:59:20 +0000 (16:59 -0400)
commitb939bf85f32b98758bfdc8ea3433259afba816a9
treefa16b67e613c2d590457e14cbfc83d59cd103376
parentccc1cf0ef9f4db434ce509e42ff4feee727724f8
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