aboutsummaryrefslogtreecommitdiffstats
path: root/test/http/test_semantics.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2015-09-15 19:12:15 +0200
committerMaximilian Hils <git@maximilianhils.com>2015-09-15 19:12:15 +0200
commit11e7f476bd4bbcd6d072fa3659f628ae3a19705d (patch)
tree7fe3f67bcf41af6c573e312ef4e6adfa18f9f870 /test/http/test_semantics.py
parent2f9c566e480c377566a0ae044d698a75b45cd54c (diff)
downloadmitmproxy-11e7f476bd4bbcd6d072fa3659f628ae3a19705d.tar.gz
mitmproxy-11e7f476bd4bbcd6d072fa3659f628ae3a19705d.tar.bz2
mitmproxy-11e7f476bd4bbcd6d072fa3659f628ae3a19705d.zip
wip
Diffstat (limited to 'test/http/test_semantics.py')
-rw-r--r--test/http/test_semantics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/http/test_semantics.py b/test/http/test_semantics.py
index 6dcbbe07..44d3c85e 100644
--- a/test/http/test_semantics.py
+++ b/test/http/test_semantics.py
@@ -475,7 +475,7 @@ class TestHeaders(object):
def test_str(self):
headers = semantics.Headers(Host="example.com")
- assert str(headers) == "Host: example.com\r\n"
+ assert bytes(headers) == "Host: example.com\r\n"
headers = semantics.Headers([
["Host", "example.com"],