Index: tst_cloud_sync - treatment_screen/test.py =================================================================== diff -u -rc5ebcc21d4b278b866b7537b96a16342f4c77957 -re249ea37ebab6dfe87a5e8f83448bb38e00d36cd --- tst_cloud_sync - treatment_screen/test.py (.../test.py) (revision c5ebcc21d4b278b866b7537b96a16342f4c77957) +++ tst_cloud_sync - treatment_screen/test.py (.../test.py) (revision e249ea37ebab6dfe87a5e8f83448bb38e00d36cd) @@ -42,9 +42,7 @@ "508" : "CS Mismatch parameter count ", "509" : "CS Missing parameter ", "510" : "CS No history available ", - "514" : "CS The credentials file does not exist. ", - "520" : "CS The provided Treatment Code is empty. ", - "521" : "CS Out buffer empty " + "520" : "CS The provided Treatment Code is empty. " } @@ -59,9 +57,7 @@ eError_ParamMismatch_508 = '1,1639391827,0,2999,0,508' eError_ParamMissing_509 = '1639391827,1,0,2999,3,509,[8,2]' eError_NoHistory_510 = '1639391827,1,0,2006,0' -eError_CredentialMake_514 = '1657706417,7,0,2003,3,,DG1234567890123,06300216' eError_TxCodeEmpty_520 = '1639391827,1,0,2008,1,' -eError_OutFileEmpty_521 = '' POST_TREATMENT_INSTRUCTION_COUNT = 2 @@ -159,21 +155,12 @@ set_data_in_cloud_sync_output_file(eError_NoHistory_510) utils.waitForGUI(2) test.compare(verify_status(get_error_message_from_log("510")),ERROR_MESSAGE["510"], "message is not in unhandled.conf file. verified error message from .err file") - - set_data_in_cloud_sync_output_file(eError_CredentialMake_514) - utils.waitForGUI(2) - test.compare(verify_status(get_error_message_from_log("514")),ERROR_MESSAGE["514"], "message is not in unhandled.conf file. verified error message from .err file") - + set_data_in_cloud_sync_output_file(eError_TxCodeEmpty_520) utils.waitForGUI(2) test.compare(verify_status(get_error_message_from_log("520")),ERROR_MESSAGE["520"], "message is not in unhandled.conf file. verified error message from .err file") - - set_data_in_cloud_sync_output_file(eError_OutFileEmpty_521) - utils.waitForGUI(2) - test.compare(verify_status(get_error_message_from_log("521")),ERROR_MESSAGE["521"], "message is not in unhandled.conf file. verified error message from .err file") - def verify_log(api_content,error_message): """ This function is capable to verify the log data from sd-card