diff options
Diffstat (limited to 'test/test_pathod.py')
-rw-r--r-- | test/test_pathod.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/test/test_pathod.py b/test/test_pathod.py index 43fb8368..c7ea47e3 100644 --- a/test/test_pathod.py +++ b/test/test_pathod.py @@ -2,6 +2,7 @@ import cStringIO from libpathod import pathod, version from netlib import tcp, http import time +import sys import tutils @@ -211,10 +212,14 @@ class CommonTests(tutils.DaemonTests): def test_websocket_frame(self): r = self.pathoc(["ws:/p/", "wf:b@10"], ws_read_limit=0) - print r - print self.d.log() + print >> sys.stderr, r + print >> sys.stderr, self.d.log() assert self.d.last_log()["type"] == "wsframe" + def test_websocket_reflected_frame(self): + r = self.pathoc(["ws:/p/", "wf:f'wf'"], ws_read_limit=0) + assert r + class TestDaemon(CommonTests): ssl = False |