[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
+3 -3
View File
@@ -37,9 +37,9 @@ else:
import unittest
class Node:
def __init__(self, nodeid):
def __init__(self, nodeid, is_mtd=False):
if sys.platform != 'win32':
self.interface = node_cli.otCli(nodeid)
self.interface = node_cli.otCli(nodeid, is_mtd)
else:
self.interface = node_api.otApi(nodeid)
@@ -67,7 +67,7 @@ class Node:
def thread_stop(self):
self.interface.thread_stop()
def commissioner_start(self):
self.interface.commissioner_start()