From bdd52fead339e634022a2251bb2bd85a924ca8d2 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Fri, 24 Apr 2015 08:47:09 +1200 Subject: websockets: extract frame header creation into a function --- 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 6f3b429d..17f7f728 100644 --- a/test/test_websockets.py +++ b/test/test_websockets.py @@ -3,6 +3,10 @@ import os from nose.tools import raises +def test_frame_header_bytes(): + assert websockets.frame_header_bytes() + + class WebSocketsEchoHandler(tcp.BaseHandler): def __init__(self, connection, address, server): super(WebSocketsEchoHandler, self).__init__( -- cgit v1.2.3