1#!/usr/bin/env python 2import tiny_test_fw 3import ttfw_idf 4 5 6@ttfw_idf.idf_custom_test(env_tag='Example_GENERIC') 7def test_startup(env, _): # type: (tiny_test_fw.Env.Env, None) -> None 8 # Only test for master usage. 9 dut = env.get_dut('i2c_wifi', 'tools/test_apps/peripherals/i2c_wifi') 10 dut.start_app() 11 12 dut.expect('I2C-WIFI test success') 13 14 env.close_dut(dut.name) 15 16 17if __name__ == '__main__': 18 test_startup() 19