More double slash URL fixes
Fix TCs that reference HOST_WATCHDOG_URI.
Fix TCs that reference DUMP_ENTRY_URI.
Fix TCs that reference SOFTWARE_VERSION_URI.
FiX TCs that reference HOST_INVENTORY_URI.
Fix 'Get Endpoint Paths' keyword.
Change-Id: I77e5818a05ef5960ab8b0ffe14c1684ec9bbee39
Signed-off-by: Steven Sombar <ssombar@us.ibm.com>
diff --git a/tests/ipmi/test_general_ipmi.robot b/tests/ipmi/test_general_ipmi.robot
index d570cf5..aeab7de 100755
--- a/tests/ipmi/test_general_ipmi.robot
+++ b/tests/ipmi/test_general_ipmi.robot
@@ -743,7 +743,7 @@
# value Integer value (eg. "0-Disabled", "1-Enabled").
${value_dict}= Create Dictionary data=${value}
- ${resp}= OpenBMC Put Request ${HOST_WATCHDOG_URI}/attr/Enabled
+ ${resp}= OpenBMC Put Request ${HOST_WATCHDOG_URI}attr/Enabled
... data=${value_dict}
diff --git a/tests/test_bmc_dump.robot b/tests/test_bmc_dump.robot
index 9478e2c..9686d9c 100644
--- a/tests/test_bmc_dump.robot
+++ b/tests/test_bmc_dump.robot
@@ -42,7 +42,7 @@
... systemctl restart xyz.openbmc_project.Dump.Manager.service
Sleep 10s reason=Wait for BMC dump service to restart properly.
- ${resp}= OpenBMC Get Request ${DUMP_ENTRY_URI}/list
+ ${resp}= OpenBMC Get Request ${DUMP_ENTRY_URI}list
Should Be Equal As Strings ${resp.status_code} ${HTTP_OK}
Check Existence of BMC Dump file ${dump_id}
@@ -54,7 +54,7 @@
Delete All BMC Dump
${dump_id}= Create User Initiated Dump
OBMC Reboot (off)
- ${resp}= OpenBMC Get Request ${DUMP_ENTRY_URI}/list
+ ${resp}= OpenBMC Get Request ${DUMP_ENTRY_URI}list
Should Be Equal As Strings ${resp.status_code} ${HTTP_OK}
Check Existence of BMC Dump file ${dump_id}
@@ -75,7 +75,7 @@
${dump_id}= Create User Initiated Dump
- ${dump_size}= Read Attribute ${DUMP_ENTRY_URI}/${dump_id} Size
+ ${dump_size}= Read Attribute ${DUMP_ENTRY_URI}${dump_id} Size
# Max size for dump is 200k = 200x1024
Should Be True 0 < ${dump_size} < 204800
Check Existence of BMC Dump file ${dump_id}
@@ -90,10 +90,10 @@
Delete BMC Dump ${dump_id_1}
- ${resp}= OpenBMC Get Request ${DUMP_ENTRY_URI}/${dump_id_1}
+ ${resp}= OpenBMC Get Request ${DUMP_ENTRY_URI}${dump_id_1}
Should Be Equal As Strings ${resp.status_code} ${HTTP_NOT_FOUND}
- ${resp}= OpenBMC Get Request ${DUMP_ENTRY_URI}/${dump_id_2}
+ ${resp}= OpenBMC Get Request ${DUMP_ENTRY_URI}${dump_id_2}
Should Be Equal As Strings ${resp.status_code} ${HTTP_OK}
Check Existence of BMC Dump file ${dump_id_2}
@@ -116,7 +116,7 @@
Create User Initiated Dump
Delete All BMC Dump
- ${resp}= OpenBMC Get Request ${DUMP_ENTRY_URI}/list
+ ${resp}= OpenBMC Get Request ${DUMP_ENTRY_URI}list
Should Be Equal As Strings ${resp.status_code} ${HTTP_NOT_FOUND}
diff --git a/tests/test_inventory.robot b/tests/test_inventory.robot
index 00985a2..eff05c1 100644
--- a/tests/test_inventory.robot
+++ b/tests/test_inventory.robot
@@ -695,7 +695,7 @@
# item Inventory name (example: "fan/cpu/dimm/etc").
${count_inventory} Set Variable ${0}
- ${list}= Get Endpoint Paths ${HOST_INVENTORY_URI}/system/
+ ${list}= Get Endpoint Paths ${HOST_INVENTORY_URI}system/
... ${item}
: FOR ${element} IN @{list}
diff --git a/tests/test_software_manager.robot b/tests/test_software_manager.robot
index e13d9dd..9747bc9 100755
--- a/tests/test_software_manager.robot
+++ b/tests/test_software_manager.robot
@@ -21,7 +21,7 @@
... field.
[Tags] Verify_Software_Purpose
- ${object_uris}= Read Properties ${SOFTWARE_VERSION_URI}/list
+ ${object_uris}= Read Properties ${SOFTWARE_VERSION_URI}list
:FOR ${uri} IN @{object_uris}
\ ${object}= Read Properties ${uri}