Py3: Store certificate with a byte key

Had to debug this for hours!
This commit is contained in:
Shadab Zafar 2016-06-16 20:22:49 +05:30 committed by Maximilian Hils
parent ea5576238f
commit 6782b4ec00

View file

@ -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):