aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-07-23 12:49:57 -0700
committerGitHub <noreply@github.com>2016-07-23 12:49:57 -0700
commitfa45722ed8a2fff50d02a14f52ff3440d63072bf (patch)
treeb29920e2a4ef5ea71f080517c0ba1371847850ec /test
parentfcb906dc97914ad7d852d7e0c04e68121946e350 (diff)
parent61de6fa1d65d4219c6798ab025e1beeca1247068 (diff)
downloadmitmproxy-fa45722ed8a2fff50d02a14f52ff3440d63072bf.tar.gz
mitmproxy-fa45722ed8a2fff50d02a14f52ff3440d63072bf.tar.bz2
mitmproxy-fa45722ed8a2fff50d02a14f52ff3440d63072bf.zip
Merge pull request #1402 from mhils/console-fixes
minor fixes
Diffstat (limited to 'test')
-rw-r--r--test/mitmproxy/test_contentview.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mitmproxy/test_contentview.py b/test/mitmproxy/test_contentview.py
index 2db9ab40..aad53b37 100644
--- a/test/mitmproxy/test_contentview.py
+++ b/test/mitmproxy/test_contentview.py
@@ -59,10 +59,10 @@ class TestContentView:
assert f[0] == "Query"
def test_view_urlencoded(self):
- d = url.encode([("one", "two"), ("three", "four")])
+ d = url.encode([("one", "two"), ("three", "four")]).encode()
v = cv.ViewURLEncoded()
assert v(d)
- d = url.encode([("adsfa", "")])
+ d = url.encode([("adsfa", "")]).encode()
v = cv.ViewURLEncoded()
assert v(d)