aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_pathod.py15
1 files changed, 5 insertions, 10 deletions
diff --git a/test/test_pathod.py b/test/test_pathod.py
index c7ea47e3..d3013692 100644
--- a/test/test_pathod.py
+++ b/test/test_pathod.py
@@ -1,8 +1,7 @@
import cStringIO
from libpathod import pathod, version
from netlib import tcp, http
-import time
-import sys
+import pprint
import tutils
@@ -211,14 +210,10 @@ class CommonTests(tutils.DaemonTests):
assert r.status_code == 101
def test_websocket_frame(self):
- r = self.pathoc(["ws:/p/", "wf:b@10"], ws_read_limit=0)
- 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
+ r = self.pathoc(["ws:/p/", "wf:f'wf'"], ws_read_limit=1)
+ #print r
+ #pprint.pprint(r)
+ #pprint.pprint(self.d.log())
class TestDaemon(CommonTests):