mirror of
https://github.com/espressif/openthread.git
synced 2026-08-24 03:09:52 +00:00
[tests] enhance Cert_7_1_03_BorderRouterAsLeader (#3399)
This commit is contained in:
@@ -292,7 +292,7 @@ class Message(object):
|
||||
if self.mac_header.dest_address == mac_address:
|
||||
sent_to_node = True
|
||||
|
||||
assert sent_to_node == True
|
||||
assert sent_to_node
|
||||
|
||||
def assertSentToDestinationAddress(self, ipv6_address):
|
||||
if sys.version_info[0] == 2:
|
||||
@@ -469,6 +469,11 @@ class MessagesSet(object):
|
||||
|
||||
return True
|
||||
|
||||
def clone(self):
|
||||
"""Make a copy of current MessageSet.
|
||||
"""
|
||||
return MessagesSet(self.messages[:])
|
||||
|
||||
|
||||
class MessageFactory:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user