Move LED routines together in utils.robot
Move the Get LED State XYZ keyword up within
lib/utils.robot so it's with the other LED keywords.
Change-Id: Ia62430285c83507885c3188fddd31d55e33a7110
Signed-off-by: Steven Sombar <ssombar@us.ibm.com>
diff --git a/lib/utils.robot b/lib/utils.robot
index 8487b82..3b29b5d 100755
--- a/lib/utils.robot
+++ b/lib/utils.robot
@@ -1287,6 +1287,18 @@
Should Be Equal ${state} ${led_state}
+Get LED State XYZ
+ [Documentation] Returns state of given LED.
+ [Arguments] ${led_name}
+
+ # Description of argument(s):
+ # led_name Name of LED.
+
+ ${state}= Read Attribute ${LED_GROUPS_URI}${led_name} Asserted
+ # Returns the state of the LED, either On or Off.
+ [Return] ${state}
+
+
Delete Error Logs
[Documentation] Delete error logs.
@@ -1326,18 +1338,6 @@
Should Be Equal As Strings ${resp.status_code} ${HTTP_OK}
-Get LED State XYZ
- [Documentation] Returns state of given LED.
- [Arguments] ${led_name}
-
- # Description of argument(s):
- # led_name Name of LED.
-
- ${state}= Read Attribute ${LED_GROUPS_URI}${led_name} Asserted
- # Returns the state of the LED, either On or Off.
- [Return] ${state}
-
-
Get BMC Version
[Documentation] Returns BMC version from /etc/os-release.
... e.g. "v1.99.6-141-ge662190"