diff options
| author | Maximilian Hils <git@maximilianhils.com> | 2016-07-23 11:55:27 -0700 |
|---|---|---|
| committer | Maximilian Hils <git@maximilianhils.com> | 2016-07-23 11:55:27 -0700 |
| commit | 61de6fa1d65d4219c6798ab025e1beeca1247068 (patch) | |
| tree | 059b608115706c7325316b3af49e50e2ccf3fba9 /test | |
| parent | 9b40e1072cf66ba15266085faee3434a5750f52c (diff) | |
| download | mitmproxy-61de6fa1d65d4219c6798ab025e1beeca1247068.tar.gz mitmproxy-61de6fa1d65d4219c6798ab025e1beeca1247068.tar.bz2 mitmproxy-61de6fa1d65d4219c6798ab025e1beeca1247068.zip | |
fix test_view_urlencoded
Diffstat (limited to 'test')
| -rw-r--r-- | test/mitmproxy/test_contentview.py | 4 |
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) |
