Updated threshold arguments due to exceeded character length
Signed-off-by: Marissa Garza <garzam@us.ibm.com>
Change-Id: Iffb94e0732a773b8756c0f0e79295b1ec14c4de3
diff --git a/redfish/systems/test_power_voltage_readings.robot b/redfish/systems/test_power_voltage_readings.robot
index 65f914e..d8539fe 100755
--- a/redfish/systems/test_power_voltage_readings.robot
+++ b/redfish/systems/test_power_voltage_readings.robot
@@ -48,8 +48,9 @@
... Rprint Vars num_invalid_records invalid_records fmt=terse
Valid Value num_invalid_records valid_values=[0]
- ${invalid_records}= Evaluate
- ... [x for x in ${records} if not x['LowerThresholdNonCritical'] <= x['ReadingVolts'] <= x['UpperThresholdNonCritical']]
+ ${cmd} Catenate [x for x in ${records}
+ ... if not x['LowerThresholdNonCritical'] <= x['ReadingVolts'] <= x['UpperThresholdNonCritical']]
+ ${invalid_records}= Evaluate ${cmd}
${num_invalid_records}= Get Length ${invalid_records}
Run Keyword If ${num_invalid_records} > ${0}