From 4eec8419d0a833bb18461b3b2a2b4205128864b9 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 10 Nov 2023 16:14:26 +0100 Subject: [PATCH] test/test_model: Update EtherbonePacket. --- test/test_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_model.py b/test/test_model.py index ae1e103..46b26af 100644 --- a/test/test_model.py +++ b/test/test_model.py @@ -165,7 +165,7 @@ class TestModel(unittest.TestCase): #sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) #sock.sendto(bytes(packet), ("192.168.1.1", 20000)) - packet = EtherbonePacket(packet) + packet = EtherbonePacket(init=packet) packet.encoded = True packet.decode() print(packet)