Index: tst_cloud_sync - treatment_screen/test.py =================================================================== diff -u -r94e535b209b30b9aaae8174e92ea802f4a6c5452 -rd2576094b112afa907b4ab03f3a21a1bfd193c0b --- tst_cloud_sync - treatment_screen/test.py (.../test.py) (revision 94e535b209b30b9aaae8174e92ea802f4a6c5452) +++ tst_cloud_sync - treatment_screen/test.py (.../test.py) (revision d2576094b112afa907b4ab03f3a21a1bfd193c0b) @@ -77,11 +77,10 @@ """ test.startSection("Verification of cloud response for code %s" %actual_cloudsync_data[config.CODE_INDEX]) expected_cloudsync_data = expected_cloudsync_data.split(',') - current_epoch_value = time.time() + current_epoch_value = int(time.time()) epoch_value_status = utility.get_epoch_value_consistancy(current_epoch_value, actual_cloudsync_data[config.EPOCH_INDEX]) test.verify(epoch_value_status, "epoch value should be in range and it is verified") - for index in (config.CRC_INDEX, config.CODE_INDEX, config.PARAMETER_COUNT, config.PARAMETER_INDEX): test.compare(expected_cloudsync_data[index], actual_cloudsync_data[index], "cloud sync data %s is verified" %expected_cloudsync_data[index]) test.endSection() @@ -97,9 +96,11 @@ startApplication(config.AUT_NAME) utils.waitForGUI(1.5) + set_data_in_cloud_sync_output_file(CODE_DISPLAY_REQUEST) verify_code_from_treatment_response() + set_data_in_cloud_sync_output_file(DEVICE_CREDENTIALS_REQUEST) utils.waitForGUI(3) device_credentials_response = utility.retrive_log_data()