Automation fix to print apply time
Change-Id: I4172b7ecf34dea01f1987a198dff1385837622b6
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>
diff --git a/lib/code_update_utils.robot b/lib/code_update_utils.robot
index 3c9665f..688c63e 100644
--- a/lib/code_update_utils.robot
+++ b/lib/code_update_utils.robot
@@ -594,6 +594,7 @@
# policy ApplyTime allowed values (e.g. "OnReset", "Immediate").
${system_applytime}= Redfish.Get Attribute ${REDFISH_BASE_URI}UpdateService HttpPushUriOptions
+
[Return] ${system_applytime["HttpPushUriApplyTime"]["ApplyTime"]}
@@ -605,6 +606,7 @@
# policy ApplyTime allowed values (e.g. "OnReset", "Immediate").
${system_applytime}= Get ApplyTime ${policy}
+ Rprint Vars system_applytime
Valid Value system_applytime ['${policy}']
@@ -618,7 +620,6 @@
Redfish.Patch ${REDFISH_BASE_URI}UpdateService
... body={'HttpPushUriOptions' : {'HttpPushUriApplyTime' : {'ApplyTime' : '${policy}'}}}
Verify Get ApplyTime ${policy}
- Rprint Vars apply_time
Get Image Version From TFTP Server