aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMiroslav <ttahabatt@gmail.com>2018-01-14 13:41:15 +0200
committerMiroslav <ttahabatt@gmail.com>2018-01-14 13:41:15 +0200
commit267b1af835b3dfa0d75e29a1cb5c9741e8557141 (patch)
tree9f0785bd844a82cbef846a655a19544e727cb0bf /test
parent68c32d8627200b505036107277b39dcd876edb81 (diff)
downloadmitmproxy-267b1af835b3dfa0d75e29a1cb5c9741e8557141.tar.gz
mitmproxy-267b1af835b3dfa0d75e29a1cb5c9741e8557141.tar.bz2
mitmproxy-267b1af835b3dfa0d75e29a1cb5c9741e8557141.zip
Fix #2399
Diffstat (limited to 'test')
-rw-r--r--test/mitmproxy/net/http/test_url.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/mitmproxy/net/http/test_url.py b/test/mitmproxy/net/http/test_url.py
index 2064aab8..c9f61faf 100644
--- a/test/mitmproxy/net/http/test_url.py
+++ b/test/mitmproxy/net/http/test_url.py
@@ -108,6 +108,7 @@ def test_empty_key_trailing_equal_sign():
def test_encode():
assert url.encode([('foo', 'bar')])
assert url.encode([('foo', surrogates)])
+ assert not url.encode([], similar_to="justatext")
def test_decode():