Capitalized "arguments" to adhere to new code standards.
Capitalized "arguments" in places it wasn't.
This commit is style changes only.
Change-Id: I079cd9dbd4bd9aef630ba871c4e1b21f38efb30c
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/tests/test_association.robot b/tests/test_association.robot
index 4ba24d5..ea0fc6c 100755
--- a/tests/test_association.robot
+++ b/tests/test_association.robot
@@ -255,7 +255,7 @@
[return] ${jsondata['data']}
Create a test log
- [arguments]
+ [Arguments]
${data}= create dictionary data=@{EMPTY}
${resp}= openbmc post request
... ${EVENT_RECORD}action/acceptTestMessage data=${data}
diff --git a/tests/test_boot.robot b/tests/test_boot.robot
index ca8aad9..95f1696 100644
--- a/tests/test_boot.robot
+++ b/tests/test_boot.robot
@@ -171,11 +171,11 @@
*** Keywords ***
Response Should Be Equal
- [arguments] ${args}
+ [Arguments] ${args}
Should Be Equal ${OUTPUT} ${args}
Read the Attribute
- [arguments] ${uri} ${parm}
+ [Arguments] ${uri} ${parm}
${output}= Read Attribute ${uri} ${parm}
set test variable ${OUTPUT} ${output}
diff --git a/tests/test_esel.robot b/tests/test_esel.robot
index 59156b4..16d284a 100644
--- a/tests/test_esel.robot
+++ b/tests/test_esel.robot
@@ -48,17 +48,17 @@
*** Keywords ***
Run IPMI Command Returned
- [arguments] ${args}
+ [Arguments] ${args}
${output_1}= Execute Command /tmp/ipmitool -I dbus raw ${args}
[return] ${output_1}
Check IPMI Oempartialadd Reject
- [arguments] ${args}
+ [Arguments] ${args}
${stdout} ${stderr} ${output_2}= Execute Command /tmp/ipmitool -I dbus raw ${args} return_stdout=True return_stderr= True return_rc=True
[return] ${stderr}
Check IPMI Oempartialadd Accept
- [arguments] ${args}
+ [Arguments] ${args}
${stdout} ${stderr} ${output_3}= Execute Command /tmp/ipmitool -I dbus raw ${args} return_stdout=True return_stderr= True return_rc=True
Should Be Equal ${output_3} ${0} msg=${stderr}
[return] ${stderr}
diff --git a/tests/test_eventlog.robot b/tests/test_eventlog.robot
index 1e79897..7ec4d1b 100644
--- a/tests/test_eventlog.robot
+++ b/tests/test_eventlog.robot
@@ -201,7 +201,7 @@
*** Keywords ***
create a test log
- [arguments]
+ [Arguments]
${data}= create dictionary data=@{EMPTY}
${resp}= openbmc post request ${EVENT_RECORD}action/acceptTestMessage data=${data}
should be equal as strings ${resp.status_code} ${HTTP_OK}
diff --git a/tests/test_inventory.robot b/tests/test_inventory.robot
index 6b97219..a733678 100644
--- a/tests/test_inventory.robot
+++ b/tests/test_inventory.robot
@@ -86,7 +86,7 @@
log Dictionary ${resp}
Get Total Present
- [arguments] ${type}
+ [Arguments] ${type}
${l}= Create List []
${resp}= Get Dictionary Keys ${SYSTEM_INFO}
${list}= Get Matches ${resp} regexp=^.*[0-9a-z_].${type}[0-9]*$
@@ -97,7 +97,7 @@
[return] ${sum}
Verify Properties
- [arguments] ${type}
+ [Arguments] ${type}
${list}= Get VPD Inventory List ${OPENBMC_MODEL} ${type}
: FOR ${element} IN @{list}
@@ -105,7 +105,7 @@
\ Run Keyword If ${d['present']} == True Verify Present Properties ${d} ${type}
Verify Present Properties
- [arguments] ${d} ${type}
+ [Arguments] ${d} ${type}
${keys}= Get Dictionary Keys ${d}
Log List ${keys}
Log List ${INVENTORY_ITEMS['${type}']}
diff --git a/tests/test_led.robot b/tests/test_led.robot
index 1c2f442..51e3eb5 100644
--- a/tests/test_led.robot
+++ b/tests/test_led.robot
@@ -198,7 +198,7 @@
should be true ${ON_VALUE} > ${MIN_TOGGLE_VALUE} and ${OFF_VALUE} > ${MIN_TOGGLE_VALUE}
Get LED State
- [arguments] ${args}
+ [Arguments] ${args}
${data}= create dictionary data=@{EMPTY}
${resp}= OpenBMC Post Request ${LED_CONTROL}${args}/action/GetLedState data=${data}
should be equal as strings ${resp.status_code} ${HTTP_OK}
@@ -206,7 +206,7 @@
[return] ${json['data'][1]}
Set On
- [arguments] ${args}
+ [Arguments] ${args}
${data}= create dictionary data=@{EMPTY}
${resp}= OpenBMC Post Request ${LED_CONTROL}${args}/action/setOn data=${data}
should be equal as strings ${resp.status_code} ${HTTP_OK}
@@ -214,7 +214,7 @@
should be equal as integers ${json['data']} 0
Set Off
- [arguments] ${args}
+ [Arguments] ${args}
${data}= create dictionary data=@{EMPTY}
${resp}= OpenBMC Post Request ${LED_CONTROL}${args}/action/setOff data=${data}
should be equal as strings ${resp.status_code} ${HTTP_OK}
@@ -222,7 +222,7 @@
should be equal as integers ${json['data']} 0
Set Blink Fast
- [arguments] ${args}
+ [Arguments] ${args}
${data}= create dictionary data=@{EMPTY}
${resp}= OpenBMC Post Request ${LED_CONTROL}${args}/action/setBlinkFast data=${data}
should be equal as strings ${resp.status_code} ${HTTP_OK}
@@ -230,7 +230,7 @@
should be equal as integers ${json['data']} 0
Set Blink Slow
- [arguments] ${args}
+ [Arguments] ${args}
${data}= create dictionary data=@{EMPTY}
${resp}= OpenBMC Post Request ${LED_CONTROL}${args}/action/setBlinkSlow data=${data}
should be equal as strings ${resp.status_code} ${HTTP_OK}
diff --git a/tests/test_networkd.robot b/tests/test_networkd.robot
index 0e661ac..8da2f86 100755
--- a/tests/test_networkd.robot
+++ b/tests/test_networkd.robot
@@ -143,7 +143,7 @@
... {"data": [[[2,25,0,128,"9.3.164.177"],[2,8,254,128,"127.0.0.1"]],"9.3.164.129"],
... "message": "200 OK", "status": "ok"}
- [arguments] ${intf}
+ [Arguments] ${intf}
@{arglist}= Create List ${intf}
${args}= Create Dictionary data=@{arglist}
${resp}= Call Method ${NW_MANAGER} GetAddress4 data=${args}
diff --git a/tests/test_openbmc_service_restart_policy.robot b/tests/test_openbmc_service_restart_policy.robot
index faa10ff..d52a51f 100644
--- a/tests/test_openbmc_service_restart_policy.robot
+++ b/tests/test_openbmc_service_restart_policy.robot
@@ -83,7 +83,7 @@
*** Keywords ***
Check Service Autorestart
- [arguments] ${servicename}
+ [Arguments] ${servicename}
${restart_policy}=
... Execute Restart Policy Command
... systemctl -p Restart show ${servicename} | cut -d = -f2
@@ -92,7 +92,7 @@
Execute Restart Policy Command
- [arguments] ${command}
+ [Arguments] ${command}
${stdout} ${stderr}= Execute Command ${command} return_stderr=True
Should Be Empty ${stderr}
[Return] ${stdout}
diff --git a/tests/test_sensors.robot b/tests/test_sensors.robot
index c46e885..72c5d71 100644
--- a/tests/test_sensors.robot
+++ b/tests/test_sensors.robot
@@ -295,28 +295,28 @@
[return] ${url}
Execute new Command
- [arguments] ${args}
+ [Arguments] ${args}
${output}= Execute Command ${args}
set test variable ${OUTPUT} "${output}"
response Should Be Equal
- [arguments] ${args}
+ [Arguments] ${args}
Should Be Equal ${OUTPUT} ${args}
Response Should Be Empty
Should Be Empty ${OUTPUT}
Read the Attribute
- [arguments] ${uri} ${parm}
+ [Arguments] ${uri} ${parm}
${output}= Read Attribute ${uri} ${parm}
set test variable ${OUTPUT} ${output}
Get Sensor Number
- [arguments] ${name}
+ [Arguments] ${name}
${x}= get sensor ${OPENBMC_MODEL} ${name}
[return] ${x}
Get Inventory Sensor Number
- [arguments] ${name}
+ [Arguments] ${name}
${x}= get inventory sensor ${OPENBMC_MODEL} ${name}
[return] ${x}