diff options
author | Thomas Kriechbaumer <Kriechi@users.noreply.github.com> | 2016-04-03 10:14:06 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <Kriechi@users.noreply.github.com> | 2016-04-03 10:14:06 +0200 |
commit | 94342891ee17c1647e5071d6591ad413b6650473 (patch) | |
tree | 4dd7e1abd69c9ee2559d45fbdc3bfee4f8167039 /test/netlib | |
parent | a267934d99e2e5d561a71ee3bc3944ddb6f6ce53 (diff) | |
parent | 35a6d6e7f67f8253a32a670a4629b530d7758650 (diff) | |
download | mitmproxy-94342891ee17c1647e5071d6591ad413b6650473.tar.gz mitmproxy-94342891ee17c1647e5071d6591ad413b6650473.tar.bz2 mitmproxy-94342891ee17c1647e5071d6591ad413b6650473.zip |
Merge pull request #1072 from mitmproxy/remove-response-msg
response.msg -> response.reason
Diffstat (limited to 'test/netlib')
-rw-r--r-- | test/netlib/http/http2/test_connections.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/netlib/http/http2/test_connections.py b/test/netlib/http/http2/test_connections.py index c067d487..0a142afa 100644 --- a/test/netlib/http/http2/test_connections.py +++ b/test/netlib/http/http2/test_connections.py @@ -417,7 +417,7 @@ class TestReadResponse(tservers.ServerTestBase): assert resp.http_version == "HTTP/2.0" assert resp.status_code == 200 - assert resp.msg == '' + assert resp.reason == '' assert resp.headers.fields == [[b':status', b'200'], [b'etag', b'foobar']] assert resp.content == b'foobar' assert resp.timestamp_end @@ -444,7 +444,7 @@ class TestReadEmptyResponse(tservers.ServerTestBase): assert resp.stream_id == 42 assert resp.http_version == "HTTP/2.0" assert resp.status_code == 200 - assert resp.msg == '' + assert resp.reason == '' assert resp.headers.fields == [[b':status', b'200'], [b'etag', b'foobar']] assert resp.content == b'' |