diff options
Diffstat (limited to 'ryu/tests/unit/packet/test_lldp.py')
-rw-r--r-- | ryu/tests/unit/packet/test_lldp.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ryu/tests/unit/packet/test_lldp.py b/ryu/tests/unit/packet/test_lldp.py index 646af1e6..c8daf58c 100644 --- a/ryu/tests/unit/packet/test_lldp.py +++ b/ryu/tests/unit/packet/test_lldp.py @@ -286,6 +286,10 @@ class TestLLDPOptionalTLV(unittest.TestCase): # End eq_(tlvs[16].tlv_type, lldp.LLDP_TLV_END) + def test_parse_corrupted(self): + buf = self.data + pkt = packet.Packet(buf[:128]) + def test_serialize(self): pkt = packet.Packet() |