diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-04-02 13:24:51 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-04-02 13:24:51 +1200 |
commit | c02fdb24639c8c0fe89534205d48933de832287a (patch) | |
tree | 0a8574f469e995fd2993d6ebabcb5557fea94511 /test | |
parent | f13e2213eaeb464b0adfef2b560bdee926f2b8db (diff) | |
download | mitmproxy-c02fdb24639c8c0fe89534205d48933de832287a.tar.gz mitmproxy-c02fdb24639c8c0fe89534205d48933de832287a.tar.bz2 mitmproxy-c02fdb24639c8c0fe89534205d48933de832287a.zip |
Refactor proxy.Server to fix a crash when replaying with -n
Diffstat (limited to 'test')
-rw-r--r-- | test/test_console_contentview.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 = [ |