aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShadab Zafar <dufferzafar0@gmail.com>2016-06-15 14:00:37 +0530
committerMaximilian Hils <git@maximilianhils.com>2016-06-16 17:08:21 -0700
commit2a0e8506153cf27544356eb6324a678ff4a147e9 (patch)
tree954b59c7e1e4e09f4bef28f082b88ff931c3eadb
parent6782b4ec00cb6c5fbdccfc39f5c91bf504d59095 (diff)
downloadmitmproxy-2a0e8506153cf27544356eb6324a678ff4a147e9.tar.gz
mitmproxy-2a0e8506153cf27544356eb6324a678ff4a147e9.tar.bz2
mitmproxy-2a0e8506153cf27544356eb6324a678ff4a147e9.zip
pathod tests: do not string_escape specs
-rw-r--r--test/pathod/tutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pathod/tutils.py b/test/pathod/tutils.py
index daaa8628..3a94b6eb 100644
--- a/test/pathod/tutils.py
+++ b/test/pathod/tutils.py
@@ -100,7 +100,7 @@ class DaemonTests(object):
)
with c.connect():
resp = c.request(
- "get:/p/%s" % urllib.parse.quote(spec).encode("string_escape")
+ "get:/p/%s" % urllib.parse.quote(spec)
)
return resp