Index: tst_post/test.py =================================================================== diff -u -red42bcf28d1d324fb3caff7301b4aeb03041d7ff -rfa469c9c11cf97cf0157ab7478176897fae215cc --- tst_post/test.py (.../test.py) (revision ed42bcf28d1d324fb3caff7301b4aeb03041d7ff) +++ tst_post/test.py (.../test.py) (revision fa469c9c11cf97cf0157ab7478176897fae215cc) @@ -16,8 +16,9 @@ # This test is a demo and is intended to be used as an example on how to call the dialin API within SquishQt. -# import names -from time import sleep +import names + +# from time import sleep from dialin.ui import utils from dialin.ui import unittests @@ -32,17 +33,22 @@ hd = HDSimulator() #dg = DGSimulator() - hd.cmd_send_power_on_self_test_version_request() + hd.cmd_send_hd_operation_mode(0, 0) + + hd.cmd_send_hd_post(19, True, True) + hd.cmd_send_hd_post(15, False, True) + test.log("done") + for i in range(20): hd.cmd_send_hd_post(i, True, False) - sleep(0.1) + snooze(0.1) hd.cmd_send_hd_post(0, True, True) - hd.cmd_send_hd_operation_mode(4, 0) + unittests.test_python_version() unittests.test_crc8() unittests.test_can0() utils.tstDone() - +