diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_pathod.py | 3 | ||||
-rw-r--r-- | test/tutils.py | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/test/test_pathod.py b/test/test_pathod.py index 345734bf..f85ef38d 100644 --- a/test/test_pathod.py +++ b/test/test_pathod.py @@ -213,10 +213,9 @@ class CommonTests(tutils.DaemonTests): def test_websocket_frame(self): r, _ = self.pathoc( - ["ws:/p/", "wf:f'wf:b\"test\"'"], + ["ws:/p/", "wf:f'wf:b\"test\"':pa,1"], ws_read_limit=1 ) - print >> sys.stderr, r assert r[1].payload == "test" def test_websocket_frame_reflect_error(self): diff --git a/test/tutils.py b/test/tutils.py index 5988e846..c56c60d4 100644 --- a/test/tutils.py +++ b/test/tutils.py @@ -85,11 +85,10 @@ class DaemonTests(object): ("localhost", self.d.port), ssl=ssl, ws_read_limit=ws_read_limit, + timeout = timeout, fp = logfp ) c.connect(connect_to) - if timeout: - c.settimeout(timeout) ret = [] for i in specs: resp = c.request(i) |