aboutsummaryrefslogtreecommitdiffstats
path: root/test/pathod/test_language_http.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-06-06 13:39:38 -0700
committerMaximilian Hils <git@maximilianhils.com>2016-06-06 13:39:38 -0700
commit2ee5e8ef0e632545038a72f0cedc0320c59b00ff (patch)
tree458b9fd2ad5817c79101388a036e82d4ffb54b95 /test/pathod/test_language_http.py
parent6447c8ae2256b0e074a04307a748d61f990e98d4 (diff)
downloadmitmproxy-2ee5e8ef0e632545038a72f0cedc0320c59b00ff.tar.gz
mitmproxy-2ee5e8ef0e632545038a72f0cedc0320c59b00ff.tar.bz2
mitmproxy-2ee5e8ef0e632545038a72f0cedc0320c59b00ff.zip
fix NestedMessage encoding
Diffstat (limited to 'test/pathod/test_language_http.py')
-rw-r--r--test/pathod/test_language_http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pathod/test_language_http.py b/test/pathod/test_language_http.py
index 0ef1e109..18059e3a 100644
--- a/test/pathod/test_language_http.py
+++ b/test/pathod/test_language_http.py
@@ -324,7 +324,7 @@ def test_user_agent():
def test_nested_response():
e = http.NestedResponse.expr()
v = e.parseString("s'200'")[0]
- assert v.value.val == "200"
+ assert v.value.val == b"200"
tutils.raises(
language.ParseException,
e.parseString,