BA / Mbed OS BaBoRo1
Embed: (wiki syntax)

« Back to documentation index

SystemResetTest Class Reference

SystemResetTest Class Reference

Inherits mbed_host_tests::BaseHostTest.

Public Member Functions

def cb_device_ready
def test_steps

Detailed Description

Test for the system_reset API.

Given a device running code
When the device is restarted using @a system_reset()
Then the device is restarted

Definition at line 28 of file system_reset.py.


Member Function Documentation

def cb_device_ready (   self,
  key,
  value,
  timestamp 
)
Acknowledge device rebooted correctly and feed the test execution

Definition at line 49 of file system_reset.py.

def test_steps (   self )
Reset the device and check the status

Definition at line 60 of file system_reset.py.