aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_dump.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2015-09-12 17:40:30 +0200
committerMaximilian Hils <git@maximilianhils.com>2015-09-12 17:40:30 +0200
commit5fe12a467f37bfba2f4f663274cacbc6ecc770f7 (patch)
tree1d0cfabe1e43e50c22553453a0fcc67083ce6de8 /test/test_dump.py
parenteb2264e91a7fef4170eade4bc6af9c0c4fe9694a (diff)
downloadmitmproxy-5fe12a467f37bfba2f4f663274cacbc6ecc770f7.tar.gz
mitmproxy-5fe12a467f37bfba2f4f663274cacbc6ecc770f7.tar.bz2
mitmproxy-5fe12a467f37bfba2f4f663274cacbc6ecc770f7.zip
fix tests
Diffstat (limited to 'test/test_dump.py')
-rw-r--r--test/test_dump.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_dump.py b/test/test_dump.py
index 88f1a6fd..29931759 100644
--- a/test/test_dump.py
+++ b/test/test_dump.py
@@ -52,7 +52,7 @@ def test_strfuncs():
@mock.patch("libmproxy.contentviews.get_content_view")
def test_contentview(get_content_view):
- get_content_view.side_effect = ContentViewException(""), ("x", [])
+ get_content_view.side_effect = ContentViewException(""), ("x", iter([]))
o = dump.Options(flow_detail=4, verbosity=3)
m = dump.DumpMaster(None, o, StringIO())