diff options
author | liris <liris.pp@gmail.com> | 2014-04-21 11:08:41 +0900 |
---|---|---|
committer | Ralph Bean <rbean@redhat.com> | 2014-04-21 20:05:53 -0400 |
commit | 4ab625a0b7deb079774807a7c5bc98335ac26b86 (patch) | |
tree | 8aa17c22b592c010f3a9e666e61d4707cc98e6a4 | |
parent | 151dd790058c2aedfe0467ea37852599abaffeb5 (diff) | |
download | websocket-client-4ab625a0b7deb079774807a7c5bc98335ac26b86.tar.gz |
- always enable fragmentation test
-rw-r--r-- | tests/test_websocket.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/test_websocket.py b/tests/test_websocket.py index b8dbd9d..9242253 100644 --- a/tests/test_websocket.py +++ b/tests/test_websocket.py @@ -28,7 +28,6 @@ import websocket as ws # [1]: https://tools.ietf.org/html/rfc6455#section-5.4 # "RFC6455: 5.4. Fragmentation" # -TEST_FRAGMENTATION = True TEST_WITH_INTERNET = False TRACABLE = False @@ -268,7 +267,6 @@ class WebSocketTest(unittest.TestCase): with self.assertRaises(ws.WebSocketConnectionClosedException): data = sock.recv() - @unittest.skipUnless(TEST_FRAGMENTATION, "fragmentation not implemented") def testRecvWithSimpleFragmentation(self): sock = ws.WebSocket() s = sock.sock = SockMock() @@ -281,7 +279,6 @@ class WebSocketTest(unittest.TestCase): with self.assertRaises(ws.WebSocketConnectionClosedException): sock.recv() - @unittest.skipUnless(TEST_FRAGMENTATION, "fragmentation not implemented") def testRecvContFragmentation(self): sock = ws.WebSocket() s = sock.sock = SockMock() @@ -289,7 +286,6 @@ class WebSocketTest(unittest.TestCase): s.add_packet(six.b("\x80\x8fabcd\x15\n\x06D\x12\r\x16\x08A\r\x05D\x16\x0b\x17")) self.assertRaises(ws.WebSocketException, sock.recv) - @unittest.skipUnless(TEST_FRAGMENTATION, "fragmentation not implemented") def testRecvWithProlongedFragmentation(self): sock = ws.WebSocket() s = sock.sock = SockMock() @@ -308,7 +304,6 @@ class WebSocketTest(unittest.TestCase): with self.assertRaises(ws.WebSocketConnectionClosedException): sock.recv() - @unittest.skipUnless(TEST_FRAGMENTATION, "fragmentation not implemented") def testRecvWithFragmentationAndControlFrame(self): sock = ws.WebSocket() sock.set_mask_key(create_mask_key) |