aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_proxy.py
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2015-07-15 23:19:01 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2015-07-22 15:30:11 +0200
commitbb265d0c407a635bc0eb6357648897e3ecaf0013 (patch)
treeae5fcc56f6c4be4d6ee834abf8f20852d57fc210 /test/test_proxy.py
parentdf1b0df39f074f1f9e8bebfee37ed73c272aa3ec (diff)
downloadmitmproxy-bb265d0c407a635bc0eb6357648897e3ecaf0013.tar.gz
mitmproxy-bb265d0c407a635bc0eb6357648897e3ecaf0013.tar.bz2
mitmproxy-bb265d0c407a635bc0eb6357648897e3ecaf0013.zip
use new netlib module names
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 77051edd..5a3bb1ab 100644
--- a/test/test_proxy.py
+++ b/test/test_proxy.py
@@ -31,7 +31,7 @@ class TestServerConnection:
f.server_conn = sc
f.request.path = "/p/200:da"
sc.send(f.request.assemble())
- assert http.read_response(sc.rfile, f.request.method, 1000)
+ assert http.http1.read_response(sc.rfile, f.request.method, 1000)
assert self.d.last_log()
sc.finish()