mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-10 22:43:52 +00:00
dead code
This commit is contained in:
parent
b3410c68b8
commit
811c7ea434
@ -26,20 +26,9 @@ class TestStreamingLogs(unittest.TestCase):
|
|||||||
@inlineCallbacks
|
@inlineCallbacks
|
||||||
def test_one_log(self):
|
def test_one_log(self):
|
||||||
|
|
||||||
class TestClient(WebSocketClientProtocol):
|
|
||||||
def onOpen(self):
|
|
||||||
print("opened")
|
|
||||||
|
|
||||||
def onMessage(self, msg, is_binary=False):
|
|
||||||
print("msg {}".format(msg))
|
|
||||||
|
|
||||||
def onClose(self, *args):
|
|
||||||
print("close: {}".format(args))
|
|
||||||
|
|
||||||
proto = yield self.agent.open(
|
proto = yield self.agent.open(
|
||||||
transport_config=u"ws://localhost:1234/ws",
|
transport_config=u"ws://localhost:1234/ws",
|
||||||
options={},
|
options={},
|
||||||
protocol_class=None,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
messages = []
|
messages = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user