Change 'Read Properties' to use new 'To JSON Ordered'
Change-Id: I90e932540298884725714971e14672b2d67e5418
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/lib/rest_client.robot b/lib/rest_client.robot
index d471daf..374d744 100644
--- a/lib/rest_client.robot
+++ b/lib/rest_client.robot
@@ -5,6 +5,7 @@
Library OperatingSystem
Resource resource.txt
Library disable_warning_urllib.py
+Library utils.py
Resource rest_response_code.robot
*** Variables ***
@@ -258,7 +259,8 @@
${resp}= OpenBMC Get Request ${uri} timeout=${timeout} quiet=${quiet}
Should Be Equal As Strings ${resp.status_code} ${HTTP_OK}
- ${content}= To Json ${resp.content}
+ ${content}= To Json Ordered ${resp.content}
+
[Return] ${content["data"]}
Call Method