Enforced robotframework standards.
- The standards are enforced using the rflint static anylysis tool.
- More standards will be added in future commits but this is a base
starting point.
Change-Id: I7dd8a2b0b42a51327b748cb730609d7ee2538de3
Signed-off-by: Joy Onyerikwu <onyekachukwu.joy.onyerikwu@ibm.com>
diff --git a/tests/test_rest_interfaces.robot b/tests/test_rest_interfaces.robot
index 87db39b..82d621f 100644
--- a/tests/test_rest_interfaces.robot
+++ b/tests/test_rest_interfaces.robot
@@ -94,7 +94,8 @@
# Example:
# Response code:404, Content:{
# "data": {
- # "description": "org.freedesktop.DBus.Error.FileNotFound: path or object not found: /xyz/idont/exist"
+ # "description": "org.freedesktop.DBus.Error.FileNotFound: path or object not found:
+ # /xyz/idont/exist"
# },
# "message": "404 Not Found",
# "status": "error"
@@ -102,8 +103,8 @@
${resp}= OpenBMC Get Request /xyz/idont/exist/
${jsondata}= To JSON ${resp.content}
- Should Be Equal As Strings
- ... ${jsondata["data"]["description"]} org.freedesktop.DBus.Error.FileNotFound: path or object not found: /xyz/idont/exist
+ Should Be Equal As Strings ${jsondata["data"]["description"]}
+ ... org.freedesktop.DBus.Error.FileNotFound: path or object not found: /xyz/idont/exist
Should Be Equal As Strings ${jsondata["message"]} 404 Not Found
Should Be Equal As Strings ${jsondata["status"]} error
@@ -328,7 +329,8 @@
#--------------------------------------------------------------------
# URL Path Parm Data
#--------------------------------------------------------------------
- /xyz/openbmc_project/state/host0/attr/RequestedHostTransition xyz.openbmc_project.State.Host.Transition.Off
+ /xyz/openbmc_project/state/host0/attr/RequestedHostTransition
+ ... xyz.openbmc_project.State.Host.Transition.Off
[Tags] Put_Data_Validation
[Template] Execute Put And Expect Success