From 7412ec83f55e6a9dcdde84603b88cd67bbf8b04d Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Fri, 5 Jun 2015 16:03:17 +1200 Subject: Refactor pathoc message receive to use queues and generators This gives us a nicer, thread-safe interface. --- test/test_pathod.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'test/test_pathod.py') diff --git a/test/test_pathod.py b/test/test_pathod.py index d3013692..55a5b32e 100644 --- a/test/test_pathod.py +++ b/test/test_pathod.py @@ -210,10 +210,8 @@ class CommonTests(tutils.DaemonTests): assert r.status_code == 101 def test_websocket_frame(self): - r = self.pathoc(["ws:/p/", "wf:f'wf'"], ws_read_limit=1) - #print r - #pprint.pprint(r) - #pprint.pprint(self.d.log()) + r = self.pathoc(["ws:/p/", "wf:f'wf:b\"test\"'"], ws_read_limit=1) + assert r[1].payload == "test" class TestDaemon(CommonTests): -- cgit v1.2.3