diff options
author | Maximilian Hils <git@maximilianhils.com> | 2016-07-07 17:50:26 -0700 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2016-07-07 17:50:26 -0700 |
commit | 76473d44e035306503a426ebcd55967798f243a1 (patch) | |
tree | 6fe75ef723b9c104897a1c025938fa3d752b3491 /test/netlib/http/http1 | |
parent | f62e976e1e0245665aeeb08fa801661d6c766ba8 (diff) | |
download | mitmproxy-76473d44e035306503a426ebcd55967798f243a1.tar.gz mitmproxy-76473d44e035306503a426ebcd55967798f243a1.tar.bz2 mitmproxy-76473d44e035306503a426ebcd55967798f243a1.zip |
py3++
Diffstat (limited to 'test/netlib/http/http1')
-rw-r--r-- | test/netlib/http/http1/test_assemble.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/netlib/http/http1/test_assemble.py b/test/netlib/http/http1/test_assemble.py index 50d29384..841ea58a 100644 --- a/test/netlib/http/http1/test_assemble.py +++ b/test/netlib/http/http1/test_assemble.py @@ -24,7 +24,7 @@ def test_assemble_request(): def test_assemble_request_head(): - c = assemble_request_head(treq(content="foo")) + c = assemble_request_head(treq(content=b"foo")) assert b"GET" in c assert b"qvalue" in c assert b"content-length" in c |