diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2011-02-02 10:08:24 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2011-02-02 10:09:16 +1300 |
commit | 405e60215ce135ef7e94803d25c34404d742a06e (patch) | |
tree | 8394d61cf77da8ed89dcff240055f32d2e562b3e /test/test_flow.py | |
parent | b886f808beaba097066a1b82fe560b1e70099df0 (diff) | |
download | mitmproxy-405e60215ce135ef7e94803d25c34404d742a06e.tar.gz mitmproxy-405e60215ce135ef7e94803d25c34404d742a06e.tar.bz2 mitmproxy-405e60215ce135ef7e94803d25c34404d742a06e.zip |
View script debug output (stderr) in pager.
Diffstat (limited to 'test/test_flow.py')
-rw-r--r-- | test/test_flow.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_flow.py b/test/test_flow.py index c97cc030..3ff106d8 100644 --- a/test/test_flow.py +++ b/test/test_flow.py @@ -7,7 +7,8 @@ class uFlow(libpry.AutoTree): f = utils.tflow() f.response = utils.tresp() f.request = f.response.request - f = f.run_script("scripts/a") + f, se = f.run_script("scripts/a") + assert "DEBUG" == se.strip() assert f.request.host == "TESTOK" def test_run_script_err(self): |