diff options
author | Maximilian Hils <git@maximilianhils.com> | 2015-09-17 02:14:14 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2015-09-17 02:14:14 +0200 |
commit | dad9f06cb9403ac88d31d0ba8422034df2bc5078 (patch) | |
tree | d69ea509a4cfd9549f4a602966bd9309f8853b3c /test/websockets/test_websockets.py | |
parent | e1659f3fcf83b5993b776a4ef3d2de70fbe27aa2 (diff) | |
download | mitmproxy-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.py | 2 |
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() |