aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2016-10-04 14:50:42 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2016-10-04 14:51:04 +0200
commit90898f90846e46ef3afa5dae56b773385ffecf10 (patch)
treebd2cc8790e5f03bbf08bd3e52047c3eadcca9901 /test
parent76ae9fdbaa8851bb083bb26c993f8d139db7e9fd (diff)
downloadmitmproxy-90898f90846e46ef3afa5dae56b773385ffecf10.tar.gz
mitmproxy-90898f90846e46ef3afa5dae56b773385ffecf10.tar.bz2
mitmproxy-90898f90846e46ef3afa5dae56b773385ffecf10.zip
use flt instead of filt for flowfilter expressions
Diffstat (limited to 'test')
-rw-r--r--test/mitmproxy/test_dump.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mitmproxy/test_dump.py b/test/mitmproxy/test_dump.py
index 644a3d54..00b18166 100644
--- a/test/mitmproxy/test_dump.py
+++ b/test/mitmproxy/test_dump.py
@@ -10,12 +10,12 @@ class TestDumpMaster(mastertest.MasterTest):
mastertest.MasterTest.dummy_cycle(self, master, n, content)
return master.options.tfile.getvalue()
- def mkmaster(self, filt, **options):
+ def mkmaster(self, flt, **options):
if "verbosity" not in options:
options["verbosity"] = 0
if "flow_detail" not in options:
options["flow_detail"] = 0
- o = dump.Options(filtstr=filt, tfile=StringIO(), **options)
+ o = dump.Options(filtstr=flt, tfile=StringIO(), **options)
return dump.DumpMaster(None, o)
def test_basic(self):