aboutsummaryrefslogtreecommitdiffstats
path: root/test/pathod/test_pathod.py
diff options
context:
space:
mode:
authorShadab Zafar <dufferzafar0@gmail.com>2016-06-16 20:22:49 +0530
committerMaximilian Hils <git@maximilianhils.com>2016-06-16 17:08:06 -0700
commit6782b4ec00cb6c5fbdccfc39f5c91bf504d59095 (patch)
treea3f84322c5a35afd4e104db9e4b097443b091322 /test/pathod/test_pathod.py
parentea5576238f9fe1d1c28cec267f9801fae6d3cb52 (diff)
downloadmitmproxy-6782b4ec00cb6c5fbdccfc39f5c91bf504d59095.tar.gz
mitmproxy-6782b4ec00cb6c5fbdccfc39f5c91bf504d59095.tar.bz2
mitmproxy-6782b4ec00cb6c5fbdccfc39f5c91bf504d59095.zip
Py3: Store certificate with a byte key
Had to debug this for hours!
Diffstat (limited to 'test/pathod/test_pathod.py')
-rw-r--r--test/pathod/test_pathod.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pathod/test_pathod.py b/test/pathod/test_pathod.py
index bffd33e5..dc02fffb 100644
--- a/test/pathod/test_pathod.py
+++ b/test/pathod/test_pathod.py
@@ -52,7 +52,7 @@ class TestNotAfterConnect(tutils.DaemonTests):
class TestCustomCert(tutils.DaemonTests):
ssl = True
ssloptions = dict(
- certs=[("*", tutils.test_data.path("data/testkey.pem"))],
+ certs=[(b"*", tutils.test_data.path("data/testkey.pem"))],
)
def test_connect(self):