Index: tst_post/test.py =================================================================== diff -u -rbc82fc2b60dcc4c9744c1809077ffbffba338073 -r8329a51c87e52328d6d8b58dd12b3c1aa7fcdc6f --- tst_post/test.py (.../test.py) (revision bc82fc2b60dcc4c9744c1809077ffbffba338073) +++ tst_post/test.py (.../test.py) (revision 8329a51c87e52328d6d8b58dd12b3c1aa7fcdc6f) @@ -27,7 +27,7 @@ # from dialin.ui.hd_simulator_alarms import HDAlarmsSimulator MSGS_AND_CONDITIONS = { 5: [True, False], 10: [True, False], 2: [True, False], - 18: [True, True], 7: [False, True], + 3: [False, False], 18: [True, True], 7: [False, True], } assertion = AssertionHelper() @@ -94,14 +94,14 @@ done_indicator = waitForObject(names.done_indicator) test.compare(done_indicator.enabled, True, "Done, Final value passed") - elif (final_msg == False and final_msg_posted == True) \ - or (final_msg == False and final_msg_posted == False): + elif (final_msg == False and final_msg_posted == True) : if object.exists(names.fail_indicator): fail_indicator = waitForObject(names.fail_indicator) test.compare(fail_indicator.enabled, True, "Failed, Final value not passed") - elif (final_msg == True and final_msg_posted == False): + elif (final_msg == True and final_msg_posted == False)\ + or (final_msg == False and final_msg_posted == False): if object.exists(names.busy_indicator): busy_indicator = waitForObject(names.busy_indicator) @@ -116,5 +116,6 @@ hd.cmd_send_power_on_self_test_version_request() post_a_message_and_verify_progress_and_completion(MSGS_AND_CONDITIONS) - + snooze(2) + utils.tstDone()