From dad9f06cb9403ac88d31d0ba8422034df2bc5078 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Thu, 17 Sep 2015 02:14:14 +0200 Subject: organize exceptions, improve content-length handling --- test/websockets/test_websockets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/websockets/test_websockets.py') diff --git a/test/websockets/test_websockets.py b/test/websockets/test_websockets.py index 3fdeb683..3af5dc9c 100644 --- a/test/websockets/test_websockets.py +++ b/test/websockets/test_websockets.py @@ -176,7 +176,7 @@ class TestBadHandshake(tservers.ServerTestBase): """ handler = BadHandshakeHandler - @raises(tcp.NetLibDisconnect) + @raises(TcpDisconnect) def test(self): client = WebSocketsClient(("127.0.0.1", self.port)) client.connect() -- cgit v1.2.3