Index: tests/dg_tests.py =================================================================== diff -u -r4a0c6600b52ec965a6625a428de986e7040ae2c9 -rcd99ca8354f5c7910f699b7ac2c1976781b07627 --- tests/dg_tests.py (.../dg_tests.py) (revision 4a0c6600b52ec965a6625a428de986e7040ae2c9) +++ tests/dg_tests.py (.../dg_tests.py) (revision cd99ca8354f5c7910f699b7ac2c1976781b07627) @@ -672,18 +672,19 @@ hd = HD(log_level='DEBUG') hd.cmd_log_in_to_hd() sleep(1) - """ - print(dg.test_configs.dg_test_configs) - print(hex(dg.test_configs.cmd_get_test_config_status(DGTestConfigOptions.TEST_CONFIG_ENABLE_MIXING_WITH_WATER.value))) - dg.test_configs.cmd_set_test_config(DGTestConfigOptions.TEST_CONFIG_ENABLE_MIXING_WITH_WATER.value, reset=0) + print((hd.test_configs.hd_test_configs)) + #print(hex(dg.test_configs.cmd_get_test_config_status(DGTestConfigOptions.TEST_CONFIG_ENABLE_MIXING_WITH_WATER.value))) + + #dg.test_configs.cmd_set_test_config(DGTestConfigOptions.TEST_CONFIG_ENABLE_MIXING_WITH_WATER.value, reset=0) + #hd.test_configs.cmd_set_test_config(HDTestConfigOptions.TEST_CONFIG_USE_WORN_CARTRIDGE.value, reset=1) + hd.test_configs.cmd_reset_all_test_configs() sleep(1) - """ - dg.test_configs.cmd_request_test_config_status_from_fw() + hd.test_configs.cmd_request_test_config_status_from_fw() + while True: - print(hex(dg.test_configs.cmd_get_test_config_status( - DGTestConfigOptions.TEST_CONFIG_ENABLE_MIXING_WITH_WATER.value))) + print(hex(hd.test_configs.hd_test_configs[HDTestConfigOptions.TEST_CONFIG_USE_WORN_CARTRIDGE.name])) sleep(1) #run_heat_disinfect() @@ -698,7 +699,7 @@ # cmd_set_disinfect_ui_screen() - collect_treatment_data() + #collect_treatment_data() #collect_hd_treatment()