Index: tst_post/test.py =================================================================== diff -u -r42518af04db1eec648c39ab80cc5a6a27283a4ed -r4798b078bb6825fd693921aa54f636741cff0051 --- tst_post/test.py (.../test.py) (revision 42518af04db1eec648c39ab80cc5a6a27283a4ed) +++ tst_post/test.py (.../test.py) (revision 4798b078bb6825fd693921aa54f636741cff0051) @@ -1,10 +1,32 @@ +# -*- coding: utf-8 -*- + +## # Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. # copyright # THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, # IN PART OR IN WHOLE, # WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. # # file tst_post +<<<<<<< HEAD +# date 2020/12/27 +# author Behrouz NematiPour +# + +# NOTE: +# This test is a demo and is intended to be used as an example on how to call the dialin API within SquishQt. + + +from time import sleep +from dialin.ui import utils +from dialin.ui import unittests +from dialin.ui.hd_simulator import HDSimulator + + +def main(): + utils.tstStart("demo") + startApplication("denaliSquish") +======= # @author (last) Papiya Mandal # @date (last) 07-02-2022 # @@ -104,9 +126,27 @@ utils.tstStart(__file__) startApplication(AUT_NAME) +>>>>>>> origin/diality_initialization_screen + hd = HDSimulator() + + hd.cmd_send_power_on_self_test_version_request() +<<<<<<< HEAD + for i in range(20): + hd.cmd_send_hd_post(i, True, False) + sleep(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() + +======= post_a_message_and_verify_progress_and_completion(MSGS_AND_CONDITIONS) utils.waitForGUI(2) +>>>>>>> origin/diality_initialization_screen utils.tstDone() +