diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2015-06-08 15:40:58 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2015-06-08 15:40:58 +1200 |
commit | 3ad73dfb5bf3f027f864af409b82320554ee9144 (patch) | |
tree | 21da1f930eb4cc04299f65c5caadff76244ebb3a /test/test_pathod.py | |
parent | 317db546667592c5ebbd2249b775ff32f16a5b13 (diff) | |
download | mitmproxy-3ad73dfb5bf3f027f864af409b82320554ee9144.tar.gz mitmproxy-3ad73dfb5bf3f027f864af409b82320554ee9144.tar.bz2 mitmproxy-3ad73dfb5bf3f027f864af409b82320554ee9144.zip |
Debug to diagnose Travis races
Diffstat (limited to 'test/test_pathod.py')
-rw-r--r-- | test/test_pathod.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/test_pathod.py b/test/test_pathod.py index 7d5f90b6..345734bf 100644 --- a/test/test_pathod.py +++ b/test/test_pathod.py @@ -1,7 +1,7 @@ +import sys import cStringIO from libpathod import pathod, version from netlib import tcp, http -import pprint import tutils @@ -212,7 +212,11 @@ class CommonTests(tutils.DaemonTests): assert r[0].status_code == 101 def test_websocket_frame(self): - r, _ = self.pathoc(["ws:/p/", "wf:f'wf:b\"test\"'"], ws_read_limit=1) + r, _ = self.pathoc( + ["ws:/p/", "wf:f'wf:b\"test\"'"], + ws_read_limit=1 + ) + print >> sys.stderr, r assert r[1].payload == "test" def test_websocket_frame_reflect_error(self): |