From 192fd1db7f233b71398c5255cbdebe1928768b55 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Fri, 24 Apr 2015 15:31:14 +1200 Subject: websockets: include all header values in frame roundtrip --- test/test_websockets.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/test_websockets.py') diff --git a/test/test_websockets.py b/test/test_websockets.py index 215b3958..8ae18edd 100644 --- a/test/test_websockets.py +++ b/test/test_websockets.py @@ -202,6 +202,10 @@ class TestFrame: f2 = websockets.Frame.from_file(cStringIO.StringIO(bytes)) assert f == f2 round("test") + round("test", fin=1) + round("test", rsv1=1) + round("test", opcode=websockets.OPCODE.PING) + round("test", masking_key="test") def test_human_readable(self): f = websockets.Frame() -- cgit v1.2.3