aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_proxy.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2011-02-16 11:20:00 +1300
committerAldo Cortesi <aldo@nullcube.com>2011-02-16 11:20:00 +1300
commit6339f521fc253fd9634d30ccc228a5288304f1cb (patch)
tree90600782b17971ddfca8756f82330c4ecf91a7ea /test/test_proxy.py
parent89627a702a6159542917e3cb499079caa75783c7 (diff)
downloadmitmproxy-6339f521fc253fd9634d30ccc228a5288304f1cb.tar.gz
mitmproxy-6339f521fc253fd9634d30ccc228a5288304f1cb.tar.bz2
mitmproxy-6339f521fc253fd9634d30ccc228a5288304f1cb.zip
Repair unit test to match removal of arg from Response class.
Diffstat (limited to 'test/test_proxy.py')
-rw-r--r--test/test_proxy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_proxy.py b/test/test_proxy.py
index bb1a2122..7bb608ae 100644
--- a/test/test_proxy.py
+++ b/test/test_proxy.py
@@ -247,7 +247,7 @@ class uResponse(libpry.AutoTree):
c = proxy.ClientConnection(("addr", 2222))
r = proxy.Request(c, "host", 22, "https", "GET", "/", h, "content")
req = proxy.Request(c, "host", 22, "https", "GET", "/", h, "content")
- resp = proxy.Response(req, 200, "HTTP", "msg", h.copy(), "content")
+ resp = proxy.Response(req, 200, "msg", h.copy(), "content")
state = resp.get_state()
assert proxy.Response.from_state(req, state) == resp