From c02fdb24639c8c0fe89534205d48933de832287a Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Mon, 2 Apr 2012 13:24:51 +1200 Subject: Refactor proxy.Server to fix a crash when replaying with -n --- test/test_console_contentview.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/test_console_contentview.py b/test/test_console_contentview.py index 28265dec..babe59ea 100644 --- a/test/test_console_contentview.py +++ b/test/test_console_contentview.py @@ -131,7 +131,7 @@ Larry [["content-type", "application/json"]], "[1, 2" ) - assert r[0] == "Raw" + assert "Raw" in r[0] r = cv.get_content_view( cv.VIEW_AUTO, @@ -153,7 +153,7 @@ Larry encoding.encode('gzip', "[1, 2, 3]") ) assert "decoded gzip" in r[0] - assert "forced" in r[0] + assert "XML" in r[0] tests = [ -- cgit v1.2.3