aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_rparse.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-07-23 15:11:40 +1200
committerAldo Cortesi <aldo@nullcube.com>2012-07-23 15:11:40 +1200
commit5283bb250788326ad1722b703148800a66a36adf (patch)
tree8f295eb98f69df0b96149347321448ff94c1ca16 /test/test_rparse.py
parent1c45f5b05c7e066c28dfd4c9d1cde3b794f8983c (diff)
downloadmitmproxy-5283bb250788326ad1722b703148800a66a36adf.tar.gz
mitmproxy-5283bb250788326ad1722b703148800a66a36adf.tar.bz2
mitmproxy-5283bb250788326ad1722b703148800a66a36adf.zip
Refactor rparse.InternalResponse -> rparse.PathodErrorResponse
Diffstat (limited to 'test/test_rparse.py')
-rw-r--r--test/test_rparse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_rparse.py b/test/test_rparse.py
index 929d7342..5856d86d 100644
--- a/test/test_rparse.py
+++ b/test/test_rparse.py
@@ -155,7 +155,7 @@ class TestMisc:
def test_internal_response(self):
d = cStringIO.StringIO()
- s = rparse.InternalResponse(400, "foo")
+ s = rparse.PathodErrorResponse("foo")
s.serve(d)