diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2018-06-11 13:24:08 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2018-06-11 13:28:28 +0200 |
commit | be26958ea83adedcfdd6af7dc713e7f83ffd1314 (patch) | |
tree | 82a61d7e4f178897e1a99fb7a8821a328f5170f5 /test/pathod/language | |
parent | 9047c4f2a58d6e6b08d8066fb890b2a13de21fb3 (diff) | |
download | mitmproxy-be26958ea83adedcfdd6af7dc713e7f83ffd1314.tar.gz mitmproxy-be26958ea83adedcfdd6af7dc713e7f83ffd1314.tar.bz2 mitmproxy-be26958ea83adedcfdd6af7dc713e7f83ffd1314.zip |
improve websocket frame masking api
Diffstat (limited to 'test/pathod/language')
-rw-r--r-- | test/pathod/language/test_websockets.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/pathod/language/test_websockets.py b/test/pathod/language/test_websockets.py index ed766bca..64ff024c 100644 --- a/test/pathod/language/test_websockets.py +++ b/test/pathod/language/test_websockets.py @@ -123,12 +123,6 @@ class TestWebsocketFrame: assert not frm.header.mask assert not frm.header.masking_key - frm = self.fr("wf:b'foo':-mask:k'abcd'", is_client=True) - assert not frm.header.mask - # We're reading back a corrupted frame - the first 3 characters of the - # mask is mis-interpreted as the payload - assert frm.payload == b"abc" - def test_knone(self): with pytest.raises(Exception, match="Expected 4 bytes"): self.fr("wf:b'foo':mask:knone") |