aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-03-13 01:30:26 +0100
committerMaximilian Hils <git@maximilianhils.com>2014-03-13 01:30:26 +0100
commitd883d935665154d0440dc65099451182a001551a (patch)
treec7b9b10eb31889aed2f06a07ec258474d640d2c3
parent1bfc1646924d18f2f13ba71b179480963e11dee9 (diff)
downloadmitmproxy-d883d935665154d0440dc65099451182a001551a.tar.gz
mitmproxy-d883d935665154d0440dc65099451182a001551a.tar.bz2
mitmproxy-d883d935665154d0440dc65099451182a001551a.zip
fix linux tests...
-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]