aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_flow.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-02-19 00:17:47 +1300
committerAldo Cortesi <aldo@nullcube.com>2012-02-19 00:17:47 +1300
commitd32d6bc5e3cafaa51556da0690f6835cd1b319dc (patch)
treed5aa1af673c45ce8f12b0993740573b7777c3281 /test/test_flow.py
parent8ddc3b4ef275d70cdbc9bc49add02ea21cca3583 (diff)
downloadmitmproxy-d32d6bc5e3cafaa51556da0690f6835cd1b319dc.tar.gz
mitmproxy-d32d6bc5e3cafaa51556da0690f6835cd1b319dc.tar.bz2
mitmproxy-d32d6bc5e3cafaa51556da0690f6835cd1b319dc.zip
Add "p" key binding to connection list view to copy a flow.
Diffstat (limited to 'test/test_flow.py')
-rw-r--r--test/test_flow.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_flow.py b/test/test_flow.py
index fe84be53..3e126263 100644
--- a/test/test_flow.py
+++ b/test/test_flow.py
@@ -500,7 +500,9 @@ class uFlowMaster(libpry.AutoTree):
fm.load_flow(f)
assert s.flow_count() == 1
f2 = fm.duplicate_flow(f)
+ assert f2.response
assert s.flow_count() == 2
+ assert s.index(f2)
def test_all(self):
s = flow.State()