test/test_model: Update EtherbonePacket.
This commit is contained in:
parent
f3f0486990
commit
4eec8419d0
|
@ -165,7 +165,7 @@ class TestModel(unittest.TestCase):
|
||||||
#sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
#sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
||||||
#sock.sendto(bytes(packet), ("192.168.1.1", 20000))
|
#sock.sendto(bytes(packet), ("192.168.1.1", 20000))
|
||||||
|
|
||||||
packet = EtherbonePacket(packet)
|
packet = EtherbonePacket(init=packet)
|
||||||
packet.encoded = True
|
packet.encoded = True
|
||||||
packet.decode()
|
packet.decode()
|
||||||
print(packet)
|
print(packet)
|
||||||
|
|
Loading…
Reference in New Issue