From 64729427568fbed9712557f0f1ee4e8ad994ab66 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Thu, 5 Feb 2015 17:52:59 +0100 Subject: [PATCH] fix tests --- test/test_console_contentview.py | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/test/test_console_contentview.py b/test/test_console_contentview.py index abc762fa4..44378cf73 100644 --- a/test/test_console_contentview.py +++ b/test/test_console_contentview.py @@ -190,7 +190,8 @@ Larry [["content-type", "application/json"]], "[1, 2, 3]", 1000, - lambda x, l: None + lambda x, l: None, + False ) assert "Raw" in r[0] @@ -199,7 +200,8 @@ Larry [["content-type", "application/json"]], "[1, 2, 3]", 1000, - lambda x, l: None + lambda x, l: None, + False ) assert r[0] == "JSON" @@ -208,7 +210,8 @@ Larry [["content-type", "application/json"]], "[1, 2", 1000, - lambda x, l: None + lambda x, l: None, + False ) assert "Raw" in r[0] @@ -217,7 +220,8 @@ Larry [], "[1, 2", 1000, - lambda x, l: None + lambda x, l: None, + False ) assert "Raw" in r[0] @@ -230,7 +234,8 @@ Larry ], encoding.encode('gzip', "[1, 2, 3]"), 1000, - lambda x, l: None + lambda x, l: None, + False ) assert "decoded gzip" in r[0] assert "JSON" in r[0] @@ -243,7 +248,8 @@ Larry ], encoding.encode('gzip', "[1, 2, 3]"), 1000, - lambda x, l: None + lambda x, l: None, + False ) assert "decoded gzip" in r[0] assert "Raw" in r[0]