[tests] add traffic analysis for Cert_5_2_01 as TestPlan (#2463)

This commit modifies the method assertSentToNode to confirm if the destination Mac address of
the message is the node's Mac address. Add method check_parent_request, check_parent_response,
check_child_id_request and check_child_id_request to command.py.
This commit is contained in:
Zhanglong Xia
2018-01-15 19:36:38 +00:00
committed by Jonathan Hui
parent 33065099e1
commit 836377093e
6 changed files with 238 additions and 84 deletions
+2 -2
View File
@@ -44,7 +44,7 @@ EXTRA_DIST = \
Cert_5_1_11_REEDAttachLinkQuality.py \
Cert_5_1_12_NewRouterNeighborSync.py \
Cert_5_1_13_RouterReset.py \
Cert_5_2_01_BecomeActiveRouter.py \
Cert_5_2_01_REEDAttach.py \
Cert_5_2_03_LeaderReject2Hops.py \
Cert_5_2_04_REEDUpgrade.py \
Cert_5_2_05_AddressQuery.py \
@@ -174,7 +174,7 @@ check_SCRIPTS = \
Cert_5_1_11_REEDAttachLinkQuality.py \
Cert_5_1_12_NewRouterNeighborSync.py \
Cert_5_1_13_RouterReset.py \
Cert_5_2_01_BecomeActiveRouter.py \
Cert_5_2_01_REEDAttach.py \
Cert_5_2_05_AddressQuery.py \
Cert_5_2_06_RouterDowngrade.py \
Cert_5_2_07_REEDSynchronization.py \