mirror of
https://github.com/espressif/openthread.git
synced 2026-10-01 05:17:40 +00:00
[otci] update to support more commands (#11015)
* otci now supports all commands the Thread Test Harness requires * improve typehinting across the board * fixes some typos
This commit is contained in:
@@ -144,8 +144,8 @@ def check_tlv_request_tlv(command_msg, check_type, tlv_id):
|
||||
|
||||
elif check_type == CheckType.NOT_CONTAIN:
|
||||
if tlv_request_tlv is not None:
|
||||
assert (any(tlv_id == tlv for tlv in tlv_request_tlv.tlvs) is
|
||||
False), "Error: The msg contains TLV Request TLV ID: {}".format(tlv_id)
|
||||
assert (not any(tlv_id == tlv
|
||||
for tlv in tlv_request_tlv.tlvs)), f"Error: The msg contains TLV Request TLV ID: {tlv_id}"
|
||||
|
||||
elif check_type == CheckType.OPTIONAL:
|
||||
if tlv_request_tlv is not None:
|
||||
|
||||
Reference in New Issue
Block a user