Power supply check for efficiency percent value
Resolves openbmc/openbmc-test-automation#1593
Signed-off-by: Marissa Garza <garzam@us.ibm.com>
Change-Id: I0ffa7dbfa64cbbf2c6eaed40087c2aca2698815c
diff --git a/lib/bmc_redfish_utils.robot b/lib/bmc_redfish_utils.robot
index b950f5e..0efb347 100644
--- a/lib/bmc_redfish_utils.robot
+++ b/lib/bmc_redfish_utils.robot
@@ -137,3 +137,5 @@
${invalid_records}= Filter Struct ${records}
... [('Health', '^OK$'), ('State', '^Enabled$'), ('${reading_type}', '')] regex=1 invert=1
Valid Length invalid_records max_length=0
+
+ [Return] ${records}