diff options
author | Maximilian Hils <git@maximilianhils.com> | 2014-03-13 01:30:26 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2014-03-13 01:30:26 +0100 |
commit | d883d935665154d0440dc65099451182a001551a (patch) | |
tree | c7b9b10eb31889aed2f06a07ec258474d640d2c3 /test/test_console_contentview.py | |
parent | 1bfc1646924d18f2f13ba71b179480963e11dee9 (diff) | |
download | mitmproxy-d883d935665154d0440dc65099451182a001551a.tar.gz mitmproxy-d883d935665154d0440dc65099451182a001551a.tar.bz2 mitmproxy-d883d935665154d0440dc65099451182a001551a.zip |
fix linux tests...
Diffstat (limited to 'test/test_console_contentview.py')
-rw-r--r-- | test/test_console_contentview.py | 12 |
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] |