aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_console_contentview.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-03-18 17:19:44 +0100
committerMaximilian Hils <git@maximilianhils.com>2014-03-18 17:19:44 +0100
commitce38a17893791944fb8b4f589e7ce00d79b8ced0 (patch)
treea26c992e1011cab0558efa389dee561bcf694d62 /test/test_console_contentview.py
parentc07cd857a76db5a4d9dbfe46abc84bb6c20088f1 (diff)
parent843b2e28bc4fcadb854b4b50c2f56a67bf63866a (diff)
downloadmitmproxy-ce38a17893791944fb8b4f589e7ce00d79b8ced0.tar.gz
mitmproxy-ce38a17893791944fb8b4f589e7ce00d79b8ced0.tar.bz2
mitmproxy-ce38a17893791944fb8b4f589e7ce00d79b8ced0.zip
Merge pull request #238 from mitmproxy/log_levels
Log Levels
Diffstat (limited to 'test/test_console_contentview.py')
-rw-r--r--test/test_console_contentview.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/test_console_contentview.py b/test/test_console_contentview.py
index 0aabd2c5..abc762fa 100644
--- a/test/test_console_contentview.py
+++ b/test/test_console_contentview.py
@@ -190,7 +190,7 @@ Larry
[["content-type", "application/json"]],
"[1, 2, 3]",
1000,
- lambda x: None
+ lambda x, l: None
)
assert "Raw" in r[0]
@@ -199,7 +199,7 @@ Larry
[["content-type", "application/json"]],
"[1, 2, 3]",
1000,
- lambda x: None
+ lambda x, l: None
)
assert r[0] == "JSON"
@@ -208,7 +208,7 @@ Larry
[["content-type", "application/json"]],
"[1, 2",
1000,
- lambda x: None
+ lambda x, l: None
)
assert "Raw" in r[0]
@@ -217,7 +217,7 @@ Larry
[],
"[1, 2",
1000,
- lambda x: None
+ lambda x, l: None
)
assert "Raw" in r[0]
@@ -230,7 +230,7 @@ Larry
],
encoding.encode('gzip', "[1, 2, 3]"),
1000,
- lambda x: None
+ lambda x, l: None
)
assert "decoded gzip" in r[0]
assert "JSON" in r[0]
@@ -243,7 +243,7 @@ Larry
],
encoding.encode('gzip', "[1, 2, 3]"),
1000,
- lambda x: None
+ lambda x, l: None
)
assert "decoded gzip" in r[0]
assert "Raw" in r[0]