Index: tests/test_calibration.py =================================================================== diff -u -r04d9678a26c46fe1567d9e8eecd80414a94ee4bc -re0aac8af8cd14024b89f241bb7b92ddd9bc4956e --- tests/test_calibration.py (.../test_calibration.py) (revision 04d9678a26c46fe1567d9e8eecd80414a94ee4bc) +++ tests/test_calibration.py (.../test_calibration.py) (revision e0aac8af8cd14024b89f241bb7b92ddd9bc4956e) @@ -168,15 +168,43 @@ dg.scheduled_runs_record.cmd_set_dg_scheduled_runs_record(dg.scheduled_runs_record.dg_scheduled_runs_record) +def test_hd_calibration_record(): + hd = HD(log_level="DEBUG") + if hd.cmd_log_in_to_hd(resend=False): + # hd.ui.cmd_ui_request_hd_version() + observer = Observer("hd_calibration_record") + hd.calibration_record.attach(observer) + hd.calibration_record.cmd_request_hd_calibration_record() + while not observer.received: + sleep(0.2) + + print(hd.ui.hd_version) + print(hd.ui.fpga_version) + + # hd.calibration_record.cmd_set_hd_calibration_record(hd.calibration_record.hd_calibration_record) + + +def test_hd_service_record(): + pass + + +def test_hd_system_record(): + pass + + if __name__ == "__main__": # test_dg_calibration_record() # test_dg_service_record() # test_dg_system_record() - test_dg_scheduled_runs_record() + # test_dg_scheduled_runs_record() + test_hd_calibration_record() + # test_hd_service_record() + # test_hd_system_record() +