mirror of https://github.com/ARMmbed/mbed-os.git
Host test plugins: removed unused self.mbed.reset() call in test constructor. No need for two resets because reset is performed in run() function
parent
00904b5f24
commit
c0895fdbfc
|
@ -39,7 +39,6 @@ class EchoTest(Test):
|
|||
serial_init_res = self.mbed.init_serial(self.TEST_SERIAL_BAUDRATE)
|
||||
if not serial_init_res:
|
||||
self.print_result(self.RESULT_IO_SERIAL)
|
||||
self.mbed.reset()
|
||||
|
||||
def test(self):
|
||||
""" Test function, return True or False to get standard test notification on stdout
|
||||
|
|
|
@ -84,5 +84,6 @@ class UDPEchoServerTest(DefaultTest):
|
|||
except KeyboardInterrupt, _:
|
||||
print "\n[CTRL+c] exit"
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
UDPEchoServerTest().run()
|
||||
|
|
Loading…
Reference in New Issue