mirror of
https://github.com/espressif/openthread.git
synced 2026-08-04 01:47:47 +00:00
[test] Add traffic analysis for Cert_6_1_01_RouterAttach (#2119)
Also fix the method assertMleMessageContainsOptionalTlv() in message.py to output appropriate log.
This commit is contained in:
@@ -189,7 +189,10 @@ class Message(object):
|
||||
contains_tlv = True
|
||||
break
|
||||
|
||||
print("MleMessage doesn't contain optional TLV: {}".format(tlv_class_type))
|
||||
if contains_tlv == True:
|
||||
print("MleMessage contains optional TLV: {}".format(tlv_class_type))
|
||||
else:
|
||||
print("MleMessage doesn't contain optional TLV: {}".format(tlv_class_type))
|
||||
|
||||
def get_coap_message_tlv(self, tlv_class_type):
|
||||
if self.type != MessageType.COAP:
|
||||
|
||||
Reference in New Issue
Block a user