コード例 #1
0
    class TestWebsocketProtocol(unittest.TestCase):
        def setUp(self):
            self.protocol = WampWebSocketProtocol()

        def test_close_before_open(self):
            # just checking this doesn't throw an exception...
            self.protocol.onClose(True, 1, "just testing")
コード例 #2
0
    class TestWebsocketProtocol(unittest.TestCase):
        def setUp(self):
            self.protocol = WampWebSocketProtocol()

        def test_close_before_open(self):
            # just checking this doesn't throw an exception...
            self.protocol.onClose(True, 1, "just testing")
コード例 #3
0
 def setUp(self):
     self.protocol = WampWebSocketProtocol()
コード例 #4
0
 def setUp(self):
     self.protocol = WampWebSocketProtocol()