aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_http.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2013-03-03 12:16:09 +1300
committerAldo Cortesi <aldo@nullcube.com>2013-03-03 12:16:09 +1300
commit1fe1a802adbef93b5b024a85d8dafb112ed652bb (patch)
tree2fdfec5c63eb81f6c438f00c62dcb7df25500db5 /test/test_http.py
parent0acab862a65ef4a1823a1bfb702d8be1e3d7b83d (diff)
downloadmitmproxy-1fe1a802adbef93b5b024a85d8dafb112ed652bb.tar.gz
mitmproxy-1fe1a802adbef93b5b024a85d8dafb112ed652bb.tar.bz2
mitmproxy-1fe1a802adbef93b5b024a85d8dafb112ed652bb.zip
100% test coverage.
Diffstat (limited to 'test/test_http.py')
-rw-r--r--test/test_http.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_http.py b/test/test_http.py
index 1c89900c..05dfdb8f 100644
--- a/test/test_http.py
+++ b/test/test_http.py
@@ -2,6 +2,7 @@ import cStringIO, textwrap, binascii
from netlib import http, odict
import tutils
+
def test_httperror():
e = http.HttpError(404, "Not found")
assert str(e)