1from __future__ import unicode_literals 2 3import ttfw_idf 4 5 6@ttfw_idf.idf_example_test(env_tag='Example_GENERIC') 7def test_examples_task_watchdog(env, extra_data): 8 9 dut = env.get_dut('task_watchdog', 'examples/system/task_watchdog') 10 dut.start_app() 11 12 dut.expect_all('Initialize TWDT', 13 'Delay for 10 seconds', timeout=30) 14 dut.expect_all('Unsubscribing and deleting tasks', 15 'Complete', timeout=20) 16 17 18if __name__ == '__main__': 19 test_examples_task_watchdog() 20