Index: tests/peter/test_POST.py =================================================================== diff -u -r6b8fcf58c046f2177d120544922c3f49449bb88f -r33ca5c4128dec6677a0c8bd8e69e439521f6120a --- tests/peter/test_POST.py (.../test_POST.py) (revision 6b8fcf58c046f2177d120544922c3f49449bb88f) +++ tests/peter/test_POST.py (.../test_POST.py) (revision 33ca5c4128dec6677a0c8bd8e69e439521f6120a) @@ -17,6 +17,7 @@ import sys sys.path.append("../../") from dialin import HDSimulator, DGSimulator +from time import sleep SUCCESS = 1 FAILURE = 0 @@ -28,9 +29,13 @@ for test_num in range(NUM_HD_TESTS-1): hd_sim.cmd_send_hd_post_single_result(SUCCESS, test_num=test_num) + sleep(1) hd_sim.cmd_send_hd_post_single_result(FAILURE, test_num=7) +hd_sim.cmd_send_hd_post_final_result(FAILURE) for test_num in range(NUM_DG_TESTS-1): dg_sim.cmd_send_dg_post_single_result(SUCCESS, test_num=test_num) + sleep(1) dg_sim.cmd_send_dg_post_single_result(FAILURE, test_num=5) +dg_sim.cmd_send_dg_post_final_result(FAILURE)