test/test_model: Update EtherbonePacket.

This commit is contained in:
Florent Kermarrec 2023-11-10 16:14:26 +01:00
parent f3f0486990
commit 4eec8419d0
1 changed files with 1 additions and 1 deletions

View File

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