mirror of
https://github.com/espressif/openthread.git
synced 2026-07-30 15:47:46 +00:00
[cert] capitalize python class constants (#5080)
According to PEP8, constants should be written in all capital letters. This commit capitalizes these constants: - thread_cert.TestCase.topology - thread_cert.TestCase.support_ncp
This commit is contained in:
@@ -38,7 +38,7 @@ ROUTER = 2
|
||||
|
||||
|
||||
class Cert_5_1_01_RouterAttach(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -42,7 +42,7 @@ MTDS = [ED, SED]
|
||||
|
||||
|
||||
class Cert_5_1_02_ChildAddressTimeout(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -39,7 +39,7 @@ ROUTER2 = 3
|
||||
|
||||
|
||||
class Cert_5_1_03_RouterAddressReallocation(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -39,7 +39,7 @@ ROUTER2 = 3
|
||||
|
||||
|
||||
class Cert_5_1_04_RouterAddressReallocation(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -38,7 +38,7 @@ ROUTER1 = 2
|
||||
|
||||
|
||||
class Cert_5_1_05_RouterAddressTimeout(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -39,7 +39,7 @@ ROUTER1 = 2
|
||||
|
||||
|
||||
class Cert_5_1_06_RemoveRouterId(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -38,7 +38,7 @@ SED1 = 7
|
||||
|
||||
|
||||
class Cert_5_1_07_MaxChildCount(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -41,7 +41,7 @@ ROUTER4 = 5
|
||||
|
||||
|
||||
class Cert_5_1_08_RouterAttachConnectivity(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -41,7 +41,7 @@ ROUTER2 = 5
|
||||
|
||||
|
||||
class Cert_5_1_09_REEDAttachConnectivity(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -39,7 +39,7 @@ ROUTER3 = 4
|
||||
|
||||
|
||||
class Cert_5_1_10_RouterAttachLinkQuality(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -39,7 +39,7 @@ ROUTER1 = 4
|
||||
|
||||
|
||||
class Cert_5_1_11_REEDAttachLinkQuality(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -38,7 +38,7 @@ ROUTER2 = 3
|
||||
|
||||
|
||||
class Cert_5_1_12_NewRouterSync(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -37,7 +37,7 @@ ROUTER = 2
|
||||
|
||||
|
||||
class Cert_5_1_13_RouterReset(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -41,7 +41,7 @@ MED1 = 4
|
||||
|
||||
|
||||
class Cert_5_2_01_REEDAttach(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -40,7 +40,7 @@ ROUTER_32 = 33
|
||||
|
||||
|
||||
class Cert_5_2_3_LeaderReject2Hops(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
DUT_LEADER: {
|
||||
'mode':
|
||||
'rsdn',
|
||||
|
||||
@@ -45,7 +45,7 @@ ROUTER_SELECTION_JITTER = 1
|
||||
|
||||
|
||||
class Cert_5_2_4_REEDUpgrade(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode':
|
||||
'rsdn',
|
||||
|
||||
@@ -42,7 +42,7 @@ ROUTER_SELECTION_JITTER = 1
|
||||
|
||||
|
||||
class Cert_5_2_5_AddressQuery(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode':
|
||||
'rsdn',
|
||||
|
||||
@@ -41,7 +41,7 @@ ROUTER24 = 24
|
||||
|
||||
|
||||
class Cert_5_2_06_RouterDowngrade(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -43,7 +43,7 @@ MLE_MIN_LINKS = 3
|
||||
|
||||
|
||||
class Cert_5_2_7_REEDSynchronization(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -37,7 +37,7 @@ DUT_ROUTER1 = 2
|
||||
|
||||
|
||||
class Cert_5_3_1_LinkLocal(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface
|
||||
|
||||
@@ -39,7 +39,7 @@ SED1 = 4
|
||||
|
||||
|
||||
class Cert_5_3_2_RealmLocal(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -42,7 +42,7 @@ MED1_TIMEOUT = 3
|
||||
|
||||
|
||||
class Cert_5_3_3_AddressQuery(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -45,7 +45,7 @@ MTDS = [SED1, ED1, ED2, ED3, ED4]
|
||||
|
||||
|
||||
class Cert_5_3_4_AddressMapCache(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -40,7 +40,7 @@ ROUTER3 = 4
|
||||
|
||||
|
||||
class Cert_5_3_5_RoutingLinkQuality(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -40,7 +40,7 @@ ROUTER2 = 3
|
||||
|
||||
|
||||
class Cert_5_3_6_RouterIdMask(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
DUT_LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -37,7 +37,7 @@ ROUTER2 = 3
|
||||
|
||||
|
||||
class Cert_5_3_6_RouterIdMask(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -45,7 +45,7 @@ MTDS = [MED1, SED1, MED3]
|
||||
|
||||
|
||||
class Cert_5_3_7_DuplicateAddress(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
DUT_LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -44,7 +44,7 @@ MTDS = [MED1, MED2]
|
||||
|
||||
|
||||
class Cert_5_3_8_ChildAddressSet(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
DUT_LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -43,7 +43,7 @@ SED1 = 5
|
||||
|
||||
|
||||
class Cert_5_3_09_AddressQuery(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -43,9 +43,9 @@ MED1 = 5
|
||||
|
||||
|
||||
class Cert_5_3_10_AddressQuery(thread_cert.TestCase):
|
||||
support_ncp = False
|
||||
SUPPORT_NCP = False
|
||||
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -39,7 +39,7 @@ MED1 = 3
|
||||
|
||||
|
||||
class Cert_5_3_11_AddressQueryTimeoutIntervals(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -40,7 +40,7 @@ DUT_ROUTER1 = 2
|
||||
|
||||
|
||||
class Cert_5_5_1_LeaderReboot(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
DUT_LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -37,7 +37,7 @@ ED = 3
|
||||
|
||||
|
||||
class Cert_5_5_2_LeaderReboot(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -42,7 +42,7 @@ MTDS = [ED1, ED2, ED3]
|
||||
|
||||
|
||||
class Cert_5_5_3_SplitMergeChildren(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -39,7 +39,7 @@ ROUTER4 = 5
|
||||
|
||||
|
||||
class Cert_5_5_4_SplitMergeRouters(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -40,7 +40,7 @@ REED1 = 17
|
||||
|
||||
|
||||
class Cert_5_5_5_SplitMergeREED(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode':
|
||||
'rsdn',
|
||||
|
||||
@@ -38,7 +38,7 @@ ROUTER3 = 4
|
||||
|
||||
|
||||
class Cert_5_5_7_SplitMergeThreeWay(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER1: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -39,7 +39,7 @@ ED1 = 5
|
||||
|
||||
|
||||
class Cert_5_5_8_SplitRoutersLostLeader(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER1: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -41,7 +41,7 @@ MTDS = [ED1, SED1]
|
||||
|
||||
|
||||
class Cert_5_6_1_NetworkDataLeaderAsBr(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -41,7 +41,7 @@ MTDS = [ED1, SED1]
|
||||
|
||||
|
||||
class Cert_5_6_2_NetworkDataRouterAsBr(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -41,7 +41,7 @@ MTDS = [ED1, SED1]
|
||||
|
||||
|
||||
class Cert_5_6_3_NetworkDataRegisterAfterAttachLeader(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -41,7 +41,7 @@ MTDS = [ED1, SED1]
|
||||
|
||||
|
||||
class Cert_5_6_4_NetworkDataRegisterAfterAttachRouter(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -41,7 +41,7 @@ MTDS = [ED1, SED1]
|
||||
|
||||
|
||||
class Cert_5_6_5_NetworkDataRegisterAfterAttachRouter(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -41,7 +41,7 @@ MTDS = [ED1, SED1]
|
||||
|
||||
|
||||
class Cert_5_6_6_NetworkDataExpiration(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -37,7 +37,7 @@ REED = 3
|
||||
|
||||
|
||||
class Cert_5_6_7_NetworkDataRequestREED(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -37,7 +37,7 @@ ED = 3
|
||||
|
||||
|
||||
class Cert_5_6_8_ContextManagement(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'context_reuse_delay': 10,
|
||||
'mode': 'rsdn',
|
||||
|
||||
@@ -42,7 +42,7 @@ MTDS = [ED, SED]
|
||||
|
||||
|
||||
class Cert_5_6_9_NetworkDataForwarding(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -48,9 +48,9 @@ MTDS = [MED1, SED1]
|
||||
|
||||
|
||||
class Cert_5_7_01_CoapDiagCommands_A(thread_cert.TestCase):
|
||||
support_ncp = False
|
||||
SUPPORT_NCP = False
|
||||
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'whitelist': [ROUTER1],
|
||||
},
|
||||
|
||||
@@ -36,7 +36,7 @@ ED = 2
|
||||
|
||||
|
||||
class Cert_5_8_1_KeySynchronization(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'key_switch_guardtime': 0,
|
||||
'mode': 'rsdn',
|
||||
|
||||
@@ -36,7 +36,7 @@ ROUTER = 2
|
||||
|
||||
|
||||
class Cert_5_8_2_KeyIncrement(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'key_switch_guardtime': 0,
|
||||
'mode': 'rsdn',
|
||||
|
||||
@@ -36,7 +36,7 @@ ROUTER = 2
|
||||
|
||||
|
||||
class Cert_5_8_3_KeyIncrementRollOver(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'key_sequence_counter': 127,
|
||||
'key_switch_guardtime': 0,
|
||||
|
||||
@@ -37,7 +37,7 @@ ED = 2
|
||||
|
||||
|
||||
class Cert_6_1_1_RouterAttach(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -43,7 +43,7 @@ MED = 3
|
||||
|
||||
|
||||
class Cert_6_1_2_REEDAttach_MED(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -44,7 +44,7 @@ SED = 3
|
||||
|
||||
|
||||
class Cert_6_1_2_REEDAttach_SED(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -40,7 +40,7 @@ ED = 5
|
||||
|
||||
|
||||
class Cert_6_1_3_RouterAttachConnectivity(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -39,7 +39,7 @@ ED = 5
|
||||
|
||||
|
||||
class Cert_6_1_4_REEDAttachConnectivity(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -38,7 +38,7 @@ ED = 4
|
||||
|
||||
|
||||
class Cert_6_1_5_RouterAttachLinkQuality(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -39,7 +39,7 @@ ED = 4
|
||||
|
||||
|
||||
class Cert_6_1_6_REEDAttachLinkQuality_ED(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -40,7 +40,7 @@ SED = 4
|
||||
|
||||
|
||||
class Cert_6_1_6_REEDAttachLinkQuality_SED(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -39,7 +39,7 @@ ROUTER3 = 5
|
||||
|
||||
|
||||
class Cert_6_1_7_EDSynchronization(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -37,7 +37,7 @@ ED = 3
|
||||
|
||||
|
||||
class Cert_6_2_1_NewPartition(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -38,7 +38,7 @@ ED = 4
|
||||
|
||||
|
||||
class Cert_6_2_2_NewPartition(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -37,7 +37,7 @@ ED = 3
|
||||
|
||||
|
||||
class Cert_6_3_1_OrphanReattach(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -36,7 +36,7 @@ ED = 2
|
||||
|
||||
|
||||
class Cert_6_3_2_NetworkDataUpdate(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -36,7 +36,7 @@ ED = 2
|
||||
|
||||
|
||||
class Cert_6_4_1_LinkLocal(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -37,7 +37,7 @@ ED = 3
|
||||
|
||||
|
||||
class Cert_5_3_2_RealmLocal(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -37,7 +37,7 @@ ED = 2
|
||||
|
||||
|
||||
class Cert_6_5_1_ChildResetSynchronize(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -36,7 +36,7 @@ ED = 2
|
||||
|
||||
|
||||
class Cert_6_5_2_ChildResetReattach(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -36,7 +36,7 @@ ED = 2
|
||||
|
||||
|
||||
class Cert_6_6_1_KeyIncrement(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'key_switch_guardtime': 0,
|
||||
'mode': 'rsdn',
|
||||
|
||||
@@ -36,7 +36,7 @@ ED = 2
|
||||
|
||||
|
||||
class Cert_6_6_2_KeyIncrement1(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'key_sequence_counter': 127,
|
||||
'key_switch_guardtime': 0,
|
||||
|
||||
@@ -51,7 +51,7 @@ MTDS = [SED1, MED1]
|
||||
|
||||
|
||||
class Cert_7_1_1_BorderRouterAsLeader(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -41,7 +41,7 @@ MTDS = [ED2, SED2]
|
||||
|
||||
|
||||
class Cert_7_1_2_BorderRouterAsRouter(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -51,7 +51,7 @@ MTDS = [SED1, MED1]
|
||||
|
||||
|
||||
class Cert_7_1_3_BorderRouterAsLeader(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -41,7 +41,7 @@ MTDS = [SED2, ED2]
|
||||
|
||||
|
||||
class Cert_7_1_4_BorderRouterAsRouter(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -41,7 +41,7 @@ MTDS = [ED2, SED2]
|
||||
|
||||
|
||||
class Cert_7_1_5_BorderRouterAsRouter(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -41,9 +41,9 @@ JOINER = 2
|
||||
|
||||
|
||||
class Cert_8_1_01_Commissioning(thread_cert.TestCase):
|
||||
support_ncp = False
|
||||
SUPPORT_NCP = False
|
||||
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
COMMISSIONER: {
|
||||
'masterkey': '00112233445566778899aabbccddeeff',
|
||||
'mode': 'rsdn',
|
||||
|
||||
@@ -36,9 +36,9 @@ JOINER = 2
|
||||
|
||||
|
||||
class Cert_8_1_02_Commissioning(thread_cert.TestCase):
|
||||
support_ncp = False
|
||||
SUPPORT_NCP = False
|
||||
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
COMMISSIONER: {
|
||||
'masterkey': 'deadbeefdeadbeefdeadbeefdeadbeef',
|
||||
'mode': 'rsdn',
|
||||
|
||||
@@ -37,9 +37,9 @@ JOINER = 3
|
||||
|
||||
|
||||
class Cert_8_2_01_JoinerRouter(thread_cert.TestCase):
|
||||
support_ncp = False
|
||||
SUPPORT_NCP = False
|
||||
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
COMMISSIONER: {
|
||||
'masterkey': 'deadbeefdeadbeefdeadbeefdeadbeef',
|
||||
'mode': 'rsdn',
|
||||
|
||||
@@ -37,9 +37,9 @@ JOINER = 3
|
||||
|
||||
|
||||
class Cert_8_2_02_JoinerRouter(thread_cert.TestCase):
|
||||
support_ncp = False
|
||||
SUPPORT_NCP = False
|
||||
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
COMMISSIONER: {
|
||||
'masterkey': 'deadbeefdeadbeefdeadbeefdeadbeef',
|
||||
'mode': 'rsdn',
|
||||
|
||||
@@ -40,9 +40,9 @@ LEADER = 2
|
||||
|
||||
|
||||
class Cert_9_2_02_MGMTCommissionerSet(thread_cert.TestCase):
|
||||
support_ncp = False
|
||||
SUPPORT_NCP = False
|
||||
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
COMMISSIONER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -36,9 +36,9 @@ LEADER = 2
|
||||
|
||||
|
||||
class Cert_9_2_04_ActiveDataset(thread_cert.TestCase):
|
||||
support_ncp = False
|
||||
SUPPORT_NCP = False
|
||||
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
COMMISSIONER: {
|
||||
'active_dataset': {
|
||||
'timestamp': 10,
|
||||
|
||||
@@ -47,9 +47,9 @@ COMMISSIONER_PENDING_PANID = 0xafce
|
||||
|
||||
|
||||
class Cert_9_2_7_DelayTimer(thread_cert.TestCase):
|
||||
support_ncp = False
|
||||
SUPPORT_NCP = False
|
||||
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
COMMISSIONER: {
|
||||
'active_dataset': {
|
||||
'timestamp': LEADER_ACTIVE_TIMESTAMP
|
||||
|
||||
@@ -49,9 +49,9 @@ MTDS = [ED, SED]
|
||||
|
||||
|
||||
class Cert_9_2_8_PersistentDatasets(thread_cert.TestCase):
|
||||
support_ncp = False
|
||||
SUPPORT_NCP = False
|
||||
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
COMMISSIONER: {
|
||||
'active_dataset': {
|
||||
'timestamp': LEADER_ACTIVE_TIMESTAMP,
|
||||
|
||||
@@ -44,9 +44,9 @@ ROUTER2 = 4
|
||||
|
||||
|
||||
class Cert_9_2_09_PendingPartition(thread_cert.TestCase):
|
||||
support_ncp = False
|
||||
SUPPORT_NCP = False
|
||||
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
COMMISSIONER: {
|
||||
'active_dataset': {
|
||||
'timestamp': 10,
|
||||
|
||||
@@ -48,9 +48,9 @@ MTDS = [ED1, SED1]
|
||||
|
||||
|
||||
class Cert_9_2_10_PendingPartition(thread_cert.TestCase):
|
||||
support_ncp = False
|
||||
SUPPORT_NCP = False
|
||||
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
COMMISSIONER: {
|
||||
'active_dataset': {
|
||||
'timestamp': 15,
|
||||
|
||||
@@ -48,9 +48,9 @@ MTDS = [ED1, SED1]
|
||||
|
||||
|
||||
class Cert_9_2_11_MasterKey(thread_cert.TestCase):
|
||||
support_ncp = False
|
||||
SUPPORT_NCP = False
|
||||
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
COMMISSIONER: {
|
||||
'active_dataset': {
|
||||
'timestamp': 10,
|
||||
|
||||
@@ -47,9 +47,9 @@ DATASET2_PANID = 0xafce
|
||||
|
||||
|
||||
class Cert_9_2_12_Announce(thread_cert.TestCase):
|
||||
support_ncp = False
|
||||
SUPPORT_NCP = False
|
||||
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER1: {
|
||||
'active_dataset': {
|
||||
'timestamp': DATASET1_TIMESTAMP,
|
||||
|
||||
@@ -38,9 +38,9 @@ ED1 = 4
|
||||
|
||||
|
||||
class Cert_9_2_13_EnergyScan(thread_cert.TestCase):
|
||||
support_ncp = False
|
||||
SUPPORT_NCP = False
|
||||
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
COMMISSIONER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -38,9 +38,9 @@ LEADER2 = 4
|
||||
|
||||
|
||||
class Cert_9_2_14_PanIdQuery(thread_cert.TestCase):
|
||||
support_ncp = False
|
||||
SUPPORT_NCP = False
|
||||
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
COMMISSIONER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -43,9 +43,9 @@ ROUTER2 = 4
|
||||
|
||||
|
||||
class Cert_9_2_15_PendingPartition(thread_cert.TestCase):
|
||||
support_ncp = False
|
||||
SUPPORT_NCP = False
|
||||
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
COMMISSIONER: {
|
||||
'active_dataset': {
|
||||
'timestamp': 15,
|
||||
|
||||
@@ -44,9 +44,9 @@ ROUTER2 = 4
|
||||
|
||||
|
||||
class Cert_9_2_16_ActivePendingPartition(thread_cert.TestCase):
|
||||
support_ncp = False
|
||||
SUPPORT_NCP = False
|
||||
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
COMMISSIONER: {
|
||||
'active_dataset': {
|
||||
'timestamp': 1,
|
||||
|
||||
@@ -43,9 +43,9 @@ ED1 = 3
|
||||
|
||||
|
||||
class Cert_9_2_17_Orphan(thread_cert.TestCase):
|
||||
support_ncp = False
|
||||
SUPPORT_NCP = False
|
||||
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER1: {
|
||||
'active_dataset': {
|
||||
'timestamp': 10,
|
||||
|
||||
@@ -49,9 +49,9 @@ MTDS = [ED1, SED1]
|
||||
|
||||
|
||||
class Cert_9_2_18_RollBackActiveTimestamp(thread_cert.TestCase):
|
||||
support_ncp = False
|
||||
SUPPORT_NCP = False
|
||||
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
COMMISSIONER: {
|
||||
'active_dataset': {
|
||||
'timestamp': 1,
|
||||
|
||||
@@ -35,7 +35,7 @@ LEADER = 1
|
||||
|
||||
|
||||
class Cert_Cli(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {},
|
||||
}
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ ROUTER = 2
|
||||
|
||||
|
||||
class Test_MacScan(thread_cert.TestCase):
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'channel': 12,
|
||||
'mode': 'rsdn',
|
||||
|
||||
@@ -42,9 +42,9 @@ class TestCoapObserve(thread_cert.TestCase):
|
||||
Test suite for CoAP Observations (RFC7641).
|
||||
"""
|
||||
|
||||
support_ncp = False
|
||||
SUPPORT_NCP = False
|
||||
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -37,9 +37,9 @@ ROUTER = 2
|
||||
|
||||
|
||||
class TestCoaps(thread_cert.TestCase):
|
||||
support_ncp = False
|
||||
SUPPORT_NCP = False
|
||||
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xface,
|
||||
|
||||
@@ -34,9 +34,9 @@ import thread_cert
|
||||
|
||||
|
||||
class TestDiag(thread_cert.TestCase):
|
||||
support_ncp = False
|
||||
SUPPORT_NCP = False
|
||||
|
||||
topology = {1: None}
|
||||
TOPOLOGY = {1: None}
|
||||
|
||||
def test(self):
|
||||
node = self.nodes[1]
|
||||
|
||||
@@ -38,9 +38,9 @@ ROUTER = 2
|
||||
|
||||
|
||||
class TestIPv6Fragmentation(thread_cert.TestCase):
|
||||
support_ncp = False
|
||||
SUPPORT_NCP = False
|
||||
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xcafe,
|
||||
|
||||
@@ -37,9 +37,9 @@ ROUTER = 2
|
||||
|
||||
|
||||
class TestIPv6SourceSelection(thread_cert.TestCase):
|
||||
support_ncp = False
|
||||
SUPPORT_NCP = False
|
||||
|
||||
topology = {
|
||||
TOPOLOGY = {
|
||||
LEADER: {
|
||||
'mode': 'rsdn',
|
||||
'panid': 0xcafe,
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user