mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
More tests
This commit is contained in:
parent
888ff441c5
commit
c37c2bf718
@ -282,3 +282,8 @@ class WebSocketTest(BaseTest):
|
||||
(PING, b'2'),
|
||||
{'opcode':CONTINUATION, 'payload':fragments[4]}
|
||||
], {(PONG, b'1'), (PONG, b'2'), fragments})
|
||||
|
||||
simple_test([
|
||||
{'opcode':TEXT, 'fin':0}, {'opcode':CONTINUATION, 'fin':0}, {'opcode':CONTINUATION},], [''])
|
||||
simple_test([
|
||||
{'opcode':TEXT, 'fin':0}, {'opcode':CONTINUATION, 'fin':0, 'payload':'x'}, {'opcode':CONTINUATION},], ['x'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user