aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_http.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2013-05-05 13:49:20 +1200
committerAldo Cortesi <aldo@nullcube.com>2013-05-05 13:49:20 +1200
commit9c13224353eefbb6b1824ded20846036b07c558f (patch)
tree8c0f3b8fe06da7526586fd3ad35bbe336d027ad2 /test/test_http.py
parent0ae37c7b797267beb245ed965e57a72375850e98 (diff)
downloadmitmproxy-9c13224353eefbb6b1824ded20846036b07c558f.tar.gz
mitmproxy-9c13224353eefbb6b1824ded20846036b07c558f.tar.bz2
mitmproxy-9c13224353eefbb6b1824ded20846036b07c558f.zip
Fix exception hierarchy.
Diffstat (limited to 'test/test_http.py')
-rw-r--r--test/test_http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_http.py b/test/test_http.py
index 77cc2624..62d0c3dc 100644
--- a/test/test_http.py
+++ b/test/test_http.py
@@ -146,7 +146,7 @@ def test_parse_init_connect():
assert not http.parse_init_connect("CONNECT host.com:foo HTTP/1.0")
-def test_prase_init_proxy():
+def test_parse_init_proxy():
u = "GET http://foo.com:8888/test HTTP/1.1"
m, s, h, po, pa, httpversion = http.parse_init_proxy(u)
assert m == "GET"