mirror of
https://github.com/Flowseal/tg-ws-proxy.git
synced 2026-11-01 18:26:58 +03:00
Fixes #1517
This commit is contained in:
1 parent
50d539c718
commit
1636903c8f
6 files changed
+319
-29
No files matched your search
+2
-1
@@ -812,7 +812,8 @@ class HttpMultiplexTest(unittest.IsolatedAsyncioTestCase):
|
||||
self.assertEqual(len(older), 1)
|
||||
self.assertEqual(len(latest), 4)
|
||||
for first, second in zip(latest[1:], latest[2:]):
|
||||
self.assertGreaterEqual(second - first, .015)
|
||||
# Account for subtraction roundoff at the threshold.
|
||||
self.assertGreaterEqual(second - first, .015 - 1e-9)
|
||||
self.assertFalse(channel.pending)
|
||||
self.assertFalse(channel.replay_pending)
|
||||
self.assertEqual(self.lane.inflight, 0)
|
||||
|
||||
Reference in new issue
Block a user