Index: tests/test_dg_calibration.py =================================================================== diff -u -r1e51132e2b4eae6110d673bd4af934235cd76e36 -r43e8345862c72340680c045e53b310aa291513a6 --- tests/test_dg_calibration.py (.../test_dg_calibration.py) (revision 1e51132e2b4eae6110d673bd4af934235cd76e36) +++ tests/test_dg_calibration.py (.../test_dg_calibration.py) (revision 43e8345862c72340680c045e53b310aa291513a6) @@ -19,7 +19,7 @@ #print(cal.DG_CALIBRATION_RECORD) #exit(0) - status = False + status = True cal.DG_CALIBRATION_RECORD['pumps']['concentrate_1']['step_speed_2_flow_ratio'][1] = 34.2 cal.DG_CALIBRATION_RECORD['pumps']['drain']['cal_time'][1] = 96321 cal.DG_CALIBRATION_RECORD['pumps']['ro']['gain_3_ratio'][1] = 45.69 @@ -29,12 +29,12 @@ cal.DG_CALIBRATION_RECORD['volumes']['reservoir_1']['max_residual_fluid'][1] = 85.36 cal.DG_CALIBRATION_RECORD['bicarb_concentrates']['bicarb_conc_3']['reserved_space'][1] = 85.36 cal.DG_CALIBRATION_RECORD['fans']['fan_2']['reserved_space_2'][1] = 456.25 - #print(cal.DG_CALIBRATION_RECORD) + print(cal.DG_CALIBRATION_RECORD) try: if status: dara = [] - cal.get_dg_calibration_data() + cal.get_dg_calibration_record() while True: sleep(0.2) #print(cal.current_message, cal.total_messages, cal.cal_data)