Browse Source

Fix payload must be bytes

pull/7/head 1.3.7
Richard Neumann 3 years ago
parent
commit
611d797e03
  1. 2
      tests/test_proto.py

2
tests/test_proto.py

@ -137,7 +137,7 @@ class TestPacket(TestCase):
self.packet = Packet( self.packet = Packet(
random_request_id(), random_request_id(),
Type.SERVERDATA_EXECCOMMAND, Type.SERVERDATA_EXECCOMMAND,
'Lorem ipsum sit amet...' 'Lorem ipsum sit amet...'.encode()
) )
def test_bytes_rw(self): def test_bytes_rw(self):

Loading…
Cancel
Save