diff --git a/test/pathod/test_pathod.py b/test/pathod/test_pathod.py index ed4ef49fb..bffd33e54 100644 --- a/test/pathod/test_pathod.py +++ b/test/pathod/test_pathod.py @@ -66,7 +66,7 @@ class TestCustomCert(tutils.DaemonTests): class TestSSLCN(tutils.DaemonTests): ssl = True ssloptions = dict( - cn="foo.com" + cn=b"foo.com" ) def test_connect(self): @@ -100,7 +100,7 @@ class TestNocraft(tutils.DaemonTests): def test_nocraft(self): r = self.get(r"200:b'\xf0'") assert r.status_code == 800 - assert "Crafting disabled" in r.content + assert b"Crafting disabled" in r.content class CommonTests(tutils.DaemonTests): @@ -137,7 +137,7 @@ class CommonTests(tutils.DaemonTests): def test_static(self): rsp = self.get("200:b