aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-07-09 11:03:55 +1200
committerAldo Cortesi <aldo@nullcube.com>2012-07-09 11:03:55 +1200
commitaab45078adfdf143722aa021c7d7ad1b2eb61ed3 (patch)
treebf93d7ab77cd79c32305ffd81950157d80fdd9e6 /libmproxy
parente49c920d161fcd1a4bc75ba981ffabd188dd0f00 (diff)
downloadmitmproxy-aab45078adfdf143722aa021c7d7ad1b2eb61ed3.tar.gz
mitmproxy-aab45078adfdf143722aa021c7d7ad1b2eb61ed3.tar.bz2
mitmproxy-aab45078adfdf143722aa021c7d7ad1b2eb61ed3.zip
Unit test request replay thread.
This is a small patch, but is the culmination of lots of work: we can now unit test the deep innards of mitmproxy, with coverage. There's a lot more to come in this vein.
Diffstat (limited to 'libmproxy')
-rw-r--r--libmproxy/flow.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmproxy/flow.py b/libmproxy/flow.py
index 17e88bc1..53644fb1 100644
--- a/libmproxy/flow.py
+++ b/libmproxy/flow.py
@@ -1382,6 +1382,7 @@ class FlowMaster(controller.Master):
self.masterq,
)
rt.start() # pragma: no cover
+ return rt
def run_script_hook(self, name, *args, **kwargs):
if self.script and not self.pause_scripts: