Fix to accommodate boot flag default string change.
Default string changed from "default" to "Default".
Resolves openbmc/openbmc-test-automation#488
Change-Id: I2ba88b9700ab53feda98f91d31c33acb7c808f44
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/tests/test_boot_devices.robot b/tests/test_boot_devices.robot
index 23afd1f..db747a4 100644
--- a/tests/test_boot_devices.robot
+++ b/tests/test_boot_devices.robot
@@ -23,14 +23,14 @@
... URI. The Boot device is read using REST API and ipmitool.
[Tags] Set_The_Boot_Device_As_Default_Using_REST_API
- ${bootDevice}= Set Variable default
+ ${bootDevice}= Set Variable Default
${valueDict}= Create Dictionary data=${bootDevice}
Write Attribute ${HOST_SETTINGS} boot_flags data=${valueDict}
Read the Attribute ${HOST_SETTINGS} boot_flags
- Response Should Be Equal default
+ Response Should Be Equal Default
${output} ${stderr}= Execute Command ${dbuscmd} return_stderr=True
Should Be Empty ${stderr}
- Should Contain ${output} default
+ Should Contain ${output} Default
Set The Boot Device As Default Using Ipmitool
[Documentation] This testcase is to set the boot device as default using
@@ -40,10 +40,10 @@
Run IPMI command 0x0 0x8 0x05 0x80 0x00 0x00 0x00 0x00
Read the Attribute ${HOST_SETTINGS} boot_flags
- Response Should Be Equal default
+ Response Should Be Equal Default
${output} ${stderr}= Execute Command ${dbuscmd} return_stderr=True
Should Be Empty ${stderr}
- Should Contain ${output} default
+ Should Contain ${output} Default
Set The Boot Device As Network Using REST API
[Documentation] This testcase is to set the boot device as Network using REST
diff --git a/tests/test_boot_policies.robot b/tests/test_boot_policies.robot
index 3ed6a6c..f2b766e 100644
--- a/tests/test_boot_policies.robot
+++ b/tests/test_boot_policies.robot
@@ -152,7 +152,7 @@
Restore Boot Settings
[Documentation] Restore default settings.
Set Boot Policy ONETIME
- Set Boot Device default
+ Set Boot Device Default
Close All Connections
Test Init Setup