From 611d797e031d046a34c1ae8430a8b0c13c316b26 Mon Sep 17 00:00:00 2001 From: Richard Neumann Date: Wed, 3 Nov 2021 12:26:25 +0100 Subject: [PATCH] Fix payload must be bytes --- tests/test_proto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_proto.py b/tests/test_proto.py index 8031222..1e4df3b 100644 --- a/tests/test_proto.py +++ b/tests/test_proto.py @@ -137,7 +137,7 @@ class TestPacket(TestCase): self.packet = Packet( random_request_id(), Type.SERVERDATA_EXECCOMMAND, - 'Lorem ipsum sit amet...' + 'Lorem ipsum sit amet...'.encode() ) def test_bytes_rw(self):