Redfish python utility
Changes:
- New redfish utility library code.
- Move generic utility functions to new library.
- Update test cases with new utility object acces.
Change-Id: Ia2bb18cb46ca93503853bbfd1773d3e4447339c9
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/redfish/service_root/test_service_root.robot b/redfish/service_root/test_service_root.robot
index e60793e..23a2ea6 100644
--- a/redfish/service_root/test_service_root.robot
+++ b/redfish/service_root/test_service_root.robot
@@ -69,10 +69,10 @@
# Example o/p:
# [{'@odata.id': '/redfish/v1/SessionService/Sessions/bOol3WlCI8'},
# {'@odata.id': '/redfish/v1/SessionService/Sessions/Yu3xFqjZr1'}]
- ${resp_list}= redfish.List Request /redfish/v1/SessionService/Sessions
+ ${resp_list}= redfish_utils.List Request /redfish/v1/SessionService/Sessions
redfish.Delete ${resp_list[1]}
- ${resp}= redfish.List Request /redfish/v1/SessionService/Sessions
+ ${resp}= redfish_utils.List Request /redfish/v1/SessionService/Sessions
List Should Not Contain Value ${resp} ${resp_list[1]}