[tests] enhance Cert_7_1_03_BorderRouterAsLeader (#3399)

This commit is contained in:
wgtdkp
2018-12-29 11:25:39 -08:00
committed by Jonathan Hui
parent d34f279e5a
commit 3f6d50a728
4 changed files with 133 additions and 11 deletions
+6 -1
View File
@@ -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: