[tests] change to test mtd apps (#2140)

* [mle] fix mtd child not reattach after partition
This commit is contained in:
Buke Po
2017-09-10 21:14:14 -07:00
committed by Jonathan Hui
parent 632e6913c0
commit 6060448140
59 changed files with 162 additions and 80 deletions
@@ -40,11 +40,13 @@ ED3 = 5
ED4 = 6
ED5 = 7
MTDS = [SED1, ED2, ED3, ED4, ED5]
class Cert_5_3_4_AddressMapCache(unittest.TestCase):
def setUp(self):
self.nodes = {}
for i in range(1,8):
self.nodes[i] = node.Node(i)
self.nodes[i] = node.Node(i, (i in MTDS))
self.nodes[LEADER].set_panid(0xface)
self.nodes[LEADER].set_mode('rsdn')