aboutsummaryrefslogtreecommitdiffstats
path: root/test/netlib/http/http2/test_connections.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/netlib/http/http2/test_connections.py')
-rw-r--r--test/netlib/http/http2/test_connections.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/netlib/http/http2/test_connections.py b/test/netlib/http/http2/test_connections.py
index ff462ba6..69667d1c 100644
--- a/test/netlib/http/http2/test_connections.py
+++ b/test/netlib/http/http2/test_connections.py
@@ -312,7 +312,10 @@ class TestReadRequest(tservers.ServerTestBase):
req = protocol.read_request(NotImplemented)
assert req.stream_id
- assert req.headers.fields == ((b':method', b'GET'), (b':path', b'/'), (b':scheme', b'https'))
+ assert req.headers.fields == ()
+ assert req.method == "GET"
+ assert req.path == "/"
+ assert req.scheme == "https"
assert req.content == b'foobar'