test/test_model: fix test_etherbone.

This commit is contained in:
Florent Kermarrec 2020-12-17 18:37:47 +01:00
parent d901027e5c
commit e270956d2d
1 changed files with 1 additions and 0 deletions

View File

@ -166,6 +166,7 @@ class TestModel(unittest.TestCase):
#sock.sendto(bytes(packet), ("192.168.1.1", 20000)) #sock.sendto(bytes(packet), ("192.168.1.1", 20000))
packet = EtherbonePacket(packet) packet = EtherbonePacket(packet)
packet.encoded = True
packet.decode() packet.decode()
print(packet) print(packet)