From 6339f521fc253fd9634d30ccc228a5288304f1cb Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Wed, 16 Feb 2011 11:20:00 +1300 Subject: [PATCH] Repair unit test to match removal of arg from Response class. --- test/test_proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_proxy.py b/test/test_proxy.py index bb1a21229..7bb608ae4 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