aboutsummaryrefslogtreecommitdiffstats
path: root/test/websockets/test_websockets.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2015-09-17 02:14:14 +0200
committerMaximilian Hils <git@maximilianhils.com>2015-09-17 02:14:14 +0200
commitdad9f06cb9403ac88d31d0ba8422034df2bc5078 (patch)
treed69ea509a4cfd9549f4a602966bd9309f8853b3c /test/websockets/test_websockets.py
parente1659f3fcf83b5993b776a4ef3d2de70fbe27aa2 (diff)
downloadmitmproxy-dad9f06cb9403ac88d31d0ba8422034df2bc5078.tar.gz
mitmproxy-dad9f06cb9403ac88d31d0ba8422034df2bc5078.tar.bz2
mitmproxy-dad9f06cb9403ac88d31d0ba8422034df2bc5078.zip
organize exceptions, improve content-length handling
Diffstat (limited to 'test/websockets/test_websockets.py')
-rw-r--r--test/websockets/test_websockets.py2
1 files changed, 1 insertions, 1 deletions
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()