aboutsummaryrefslogtreecommitdiffstats
path: root/test/netlib/http
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2016-05-31 20:32:28 +1200
committerAldo Cortesi <aldo@nullcube.com>2016-05-31 20:32:28 +1200
commit42e91fcfe1d27ca989c75a7939f652fdfcc47604 (patch)
treefdf9367023f6bf3db6b18d82df3742f9aba3ec2e /test/netlib/http
parent5a75ea3fc65d08c802b4d5fea73e1494ce90aa7d (diff)
downloadmitmproxy-42e91fcfe1d27ca989c75a7939f652fdfcc47604.tar.gz
mitmproxy-42e91fcfe1d27ca989c75a7939f652fdfcc47604.tar.bz2
mitmproxy-42e91fcfe1d27ca989c75a7939f652fdfcc47604.zip
http2.frame -> http2.framereader
Diffstat (limited to 'test/netlib/http')
-rw-r--r--test/netlib/http/http2/test_connections.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/netlib/http/http2/test_connections.py b/test/netlib/http/http2/test_connections.py
index be68a28c..27cc30ba 100644
--- a/test/netlib/http/http2/test_connections.py
+++ b/test/netlib/http/http2/test_connections.py
@@ -6,7 +6,7 @@ from netlib import tcp, http
from netlib.tutils import raises
from netlib.exceptions import TcpDisconnect
from netlib.http.http2.connections import HTTP2Protocol, TCPHandler
-from netlib.http.http2 import frame
+from netlib.http.http2 import framereader
from ... import tservers
@@ -111,11 +111,11 @@ class TestPerformServerConnectionPreface(tservers.ServerTestBase):
self.wfile.flush()
# check empty settings frame
- raw = frame.http2_read_raw_frame(self.rfile)
+ raw = framereader.http2_read_raw_frame(self.rfile)
assert raw == codecs.decode('00000c040000000000000200000000000300000001', 'hex_codec')
# check settings acknowledgement
- raw = frame.http2_read_raw_frame(self.rfile)
+ raw = framereader.http2_read_raw_frame(self.rfile)
assert raw == codecs.decode('000000040100000000', 'hex_codec')
# send settings acknowledgement